Simple Question (Direct)
Simple Question
Q20745003
P641
Q349
USER
Which sport was Matúš Macík a part of ?
(Q20745003,P641,c(Q349))
action filter_type
action find
entity Q20745003
relation P641
type Q349
['Q20745003', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q20745003 property:P641 ?g . ?g rdf:type ontology:Q349 }
Matúš Macík
action filter_type
action find
entity Matúš Macík
relation sport
type sport
['Matúš Macík', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Matúš_Macík property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q20745003,P641,c(Q349))
action filter_type
action find
entity Q20745003
relation P641
type Q349
[ANSWER]
['Q20745003', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q20745003 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Matúš Macík
relation sport
type sport
['Matúš Macík', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Matúš_Macík property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20745003
P27
Q15617994
USER
Which administrative territory is the native country of Matúš Macík ?
(Q20745003,P27,c(Q15617994))
action filter_type
action find
entity Q20745003
relation P27
type Q15617994
['Q20745003', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q20745003 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Matúš Macík
action filter_type
action find
entity Matúš Macík
relation country of citizenship
type designation for an administrative territorial entity
['Matúš Macík', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Matúš_Macík property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q20745003,P27,c(Q15617994))
action filter_type
action find
entity Q20745003
relation P27
type Q15617994
[ANSWER]
['Q20745003', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q20745003 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Slovakia
Slovakia
action filter_type
action find
entity Matúš Macík
relation country of citizenship
type designation for an administrative territorial entity
['Matúš Macík', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Matúš_Macík property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q214
P463
Q484652 Q874405
USER
How many international organizations and social groups were Slovakia a member of ?
(Q214,P463,c(Q484652)) (Q214,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q214
relation P463
type Q484652
action filter_type
action find
entity Q214
relation P463
type Q874405
['Q214', 'P463', {'concept': 'Q484652'}] ['Q214', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { resource:Q214 property:P463 ?u . ?u rdf:type ontology:Q484652 } UNION { ?u rdf:type ontology:Q874405 . resource:Q214 property:P463 ?u } }
Slovakia
action count
action union
action filter_type
action find
entity Slovakia
relation member of
type international organization
action filter_type
action find
entity Slovakia
relation member of
type social group
['Slovakia', 'member of', {'concept': 'international organization'}] ['Slovakia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { resource:Slovakia property:member_of ?u . ?u rdf:type ontology:international_organization } UNION { ?u rdf:type ontology:social_group . resource:Slovakia property:member_of ?u } }
[]
international organization social group
SYSTEM
4 international organizations and 1 social groups
Q7184 Q81299 Q1065 Q782942 Q1043527
(Q214,P463,c(Q484652)) (Q214,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q214
relation P463
type Q484652
action filter_type
action find
entity Q214
relation P463
type Q874405
[ANSWER]
['Q214', 'P463', {'concept': 'Q484652'}] ['Q214', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { resource:Q214 property:P463 ?u . ?u rdf:type ontology:Q484652 } UNION { ?u rdf:type ontology:Q874405 . resource:Q214 property:P463 ?u } }
North Atlantic Treaty Organisation Organization for Security and Co-operation in Europe United Nations Australia Group Multilateral Investment Guarantee Agency
4 international organizations and 1 social groups
action count
action union
action filter_type
action find
entity Slovakia
relation member of
type international organization
action filter_type
action find
entity Slovakia
relation member of
type social group
['Slovakia', 'member of', {'concept': 'international organization'}] ['Slovakia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { resource:Slovakia property:member_of ?u . ?u rdf:type ontology:international_organization } UNION { ?u rdf:type ontology:social_group . resource:Slovakia property:member_of ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q20745003
P19
Q15617994
USER
How many administrative territories were Matúš Macík born ?
(Q20745003,P19,c(Q15617994))
action count
action filter_type
action find
entity Q20745003
relation P19
type Q15617994
['Q20745003', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q20745003 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Matúš Macík
action count
action filter_type
action find
entity Matúš Macík
relation place of birth
type designation for an administrative territorial entity
['Matúš Macík', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Matúš_Macík property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q214
(Q20745003,P19,c(Q15617994))
action count
action filter_type
action find
entity Q20745003
relation P19
type Q15617994
[ANSWER]
['Q20745003', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q20745003 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Slovakia
1
action count
action filter_type
action find
entity Matúš Macík
relation place of birth
type designation for an administrative territorial entity
['Matúš Macík', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Matúš_Macík property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20745003
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q20745003
relation P21
type Q290
SELECT DISTINCT ?v WHERE { resource:Q20745003 property:P21 ?v . ?v rdf:type ontology:Q290 }
Matúš Macík
action filter_type
action find
entity Matúš Macík
relation gender
type sex
SELECT DISTINCT ?v WHERE { resource:Matúš_Macík property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q20745003
relation P21
type Q290
[ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q20745003 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Matúš Macík
relation gender
type sex
SELECT DISTINCT ?v WHERE { resource:Matúš_Macík property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214
P530
Q1048835
USER
Which political territory is known to have diplomatic connections with Slovakia ?
(c(Q1048835),P530,Q214)
action filter_type
action find
entity Q214
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q214']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q214 property:P530 ?b }
Slovakia
action filter_type
action find
entity Slovakia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Slovakia']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Slovakia property:diplomatic_relation ?b }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,Q214)
action filter_type
action find
entity Q214
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q214']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q214 property:P530 ?b }
Germany
Germany
action filter_type
action find
entity Slovakia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Slovakia']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Slovakia property:diplomatic_relation ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214
P1001
Q1292279
USER
Which political borders have control over the jurisdiction of that administrative territory ?
(c(Q1292279),P1001,Q183)
action filter_type
action find_reverse
entity Q214
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q183']
SELECT DISTINCT ?z WHERE { ?z property:P1001 resource:Q214 . ?z rdf:type ontology:Q1292279 }
Slovakia
action filter_type
action find_reverse
entity Slovakia
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?z WHERE { ?z property:applies_to_jurisdiction resource:Slovakia . ?z rdf:type ontology:political_border }
[]
political border
Q1993093 Q2630766 Q1992781
SYSTEM
Hungary–Slovakia border, Slovakia–Ukraine border, Czech Republic–Slovakia border
Q1993093 Q2630766 Q1992781 Q1991275 Q1991994
(c(Q1292279),P1001,Q183)
action filter_type
action find_reverse
entity Q214
relation P1001
type Q1292279
[ANSWERS]
[{'concept': 'Q1292279'}, 'P1001', 'Q183']
SELECT DISTINCT ?z WHERE { ?z property:P1001 resource:Q214 . ?z rdf:type ontology:Q1292279 }
Hungary–Slovakia border Slovakia–Ukraine border Czech Republic–Slovakia border Austria–Slovakia border Poland–Slovakia border
Hungary–Slovakia border Slovakia–Ukraine border Czech Republic–Slovakia border
action filter_type
action find_reverse
entity Slovakia
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?z WHERE { ?z property:applies_to_jurisdiction resource:Slovakia . ?z rdf:type ontology:political_border }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that political border located in ?
(Q1992781,P17,c(Q15617994))
['Q1992781', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1992781 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Czech Republic–Slovakia border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Czech_Republic–Slovakia_border property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q2630766
SYSTEM
Did you mean Slovakia–Ukraine border ?
(Q1993093,P17,c(Q15617994)) (Q2630766,P17,c(Q15617994)) (Q1992781,P17,c(Q15617994))
[ANSWER]
['Q1993093', 'P17', {'concept': 'Q15617994'}] ['Q2630766', 'P17', {'concept': 'Q15617994'}] ['Q1992781', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1992781 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Slovakia–Ukraine border ?
Slovakia–Ukraine border
['Hungary–Slovakia border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Slovakia–Ukraine border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Czech Republic–Slovakia border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Czech_Republic–Slovakia_border property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Czech Republic–Slovakia border. Could you tell me the answer for that?
(Q1992781,P17,c(Q15617994))
Q1992781
['Q1992781', 'P17', {'concept': 'Q15617994'}]
['Czech Republic–Slovakia border', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
2
Q213 Q214
(Q1992781,P17,c(Q15617994))
[ANSWER]
['Q1992781', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1992781 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Czech Republic Slovakia
2
['Czech Republic–Slovakia border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Czech_Republic–Slovakia_border property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q183
P17
Q1048835 Q1048835 Q159334
USER
Which political territories are lesser number of political territories and secondary schools located in than Germany ?
(c(Q1048835)|c(Q159334),P17,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action count
action filter_multi_types
action find_reverse
entity Q183
relation P17
type Q1048835
type Q159334
[[{'concept': 'Q1048835'}, {'concept': 'Q159334'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) ?p WHERE { { ?t property:P17 ?p . ?p rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } UNION { ?t property:P17 ?p . ?p rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q159334 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q159334 } } . ?d property:P17 resource:Q183 } } . FILTER ( ?g < ?y ) }
Germany
action less
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action count
action filter_multi_types
action find_reverse
entity Germany
relation country
type political territorial entity
type secondary school
[[{'concept': 'political territorial entity'}, {'concept': 'secondary school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) ?p WHERE { { ?t property:country ?p . ?p rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } UNION { ?t property:country ?p . ?p rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:secondary_school } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:secondary_school } } . ?d property:country resource:Germany } } . FILTER ( ?g < ?y ) }
[]
political territorial entity political territorial entity secondary school
Q35 Q40 Q5705
SYSTEM
Denmark, Austria, Catalonia
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q1048835)|c(Q159334),P17,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action count
action filter_multi_types
action find_reverse
entity Q183
relation P17
type Q1048835
type Q159334
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q159334'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) ?p WHERE { { ?t property:P17 ?p . ?p rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } UNION { ?t property:P17 ?p . ?p rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q159334 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q159334 } } . ?d property:P17 resource:Q183 } } . FILTER ( ?g < ?y ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
Denmark Austria Catalonia
action less
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action count
action filter_multi_types
action find_reverse
entity Germany
relation country
type political territorial entity
type secondary school
[[{'concept': 'political territorial entity'}, {'concept': 'secondary school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) ?p WHERE { { ?t property:country ?p . ?p rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } UNION { ?t property:country ?p . ?p rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:secondary_school } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:secondary_school } } . ?d property:country resource:Germany } } . FILTER ( ?g < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q408
P17
Q1048835 Q1048835 Q159334
USER
And also tell me about Australia?
(c(Q1048835)|c(Q159334),P17,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action count
action filter_multi_types
action find_reverse
entity Q408
relation P17
type Q1048835
type Q159334
[[{'concept': 'Q1048835'}, {'concept': 'Q159334'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { { ?o rdf:type ontology:Q159334 } UNION { ?o rdf:type ontology:Q1048835 } } . ?o property:P17 resource:Q408 } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?v WHERE { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1048835 ) ( ontology:Q159334 ) } } GROUP BY ?v } }
Australia
action less
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action count
action filter_multi_types
action find_reverse
entity Australia
relation country
type political territorial entity
type secondary school
[[{'concept': 'political territorial entity'}, {'concept': 'secondary school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { { ?o rdf:type ontology:secondary_school } UNION { ?o rdf:type ontology:political_territorial_entity } } . ?o property:country resource:Australia } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?v WHERE { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:political_territorial_entity ) ( ontology:secondary_school ) } } GROUP BY ?v } }
[]
political territorial entity political territorial entity secondary school
Q183 Q35 Q40
SYSTEM
Germany, Denmark, Austria
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q183 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q1048835)|c(Q159334),P17,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action count
action filter_multi_types
action find_reverse
entity Q408
relation P17
type Q1048835
type Q159334
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q159334'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { { ?o rdf:type ontology:Q159334 } UNION { ?o rdf:type ontology:Q1048835 } } . ?o property:P17 resource:Q408 } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?v WHERE { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1048835 ) ( ontology:Q159334 ) } } GROUP BY ?v } }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Germany Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
Germany Denmark Austria
action less
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action count
action filter_multi_types
action find_reverse
entity Australia
relation country
type political territorial entity
type secondary school
[[{'concept': 'political territorial entity'}, {'concept': 'secondary school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { { ?o rdf:type ontology:secondary_school } UNION { ?o rdf:type ontology:political_territorial_entity } } . ?o property:country resource:Australia } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?v WHERE { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:political_territorial_entity ) ( ontology:secondary_school ) } } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q183 Q35 Q40
P551
Q502895
USER
Who lives in Germany, Denmark and Austria ?
(c(Q502895),P551,Q183) (c(Q502895),P551,Q35) (c(Q502895),P551,Q40)
action union
action filter_type
action find_reverse
entity Q183
relation P551
type Q502895
action filter_type
action find_reverse
entity Q35
relation P551
type Q502895
action filter_type
action find_reverse
entity Q40
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q183'] [{'concept': 'Q502895'}, 'P551', 'Q35'] [{'concept': 'Q502895'}, 'P551', 'Q40']
SELECT DISTINCT ?b WHERE { { ?b property:P551 resource:Q35 . ?b rdf:type ontology:Q502895 } UNION { ?b rdf:type ontology:Q502895 . ?b property:P551 resource:Q183 } }
Germany Denmark Austria
action union
action filter_type
action find_reverse
entity Germany
relation residence
type common name
action filter_type
action find_reverse
entity Denmark
relation residence
type common name
action filter_type
action find_reverse
entity Austria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Germany'] [{'concept': 'common name'}, 'residence', 'Denmark'] [{'concept': 'common name'}, 'residence', 'Austria']
SELECT DISTINCT ?b WHERE { { ?b property:residence resource:Denmark . ?b rdf:type ontology:common_name } UNION { ?b rdf:type ontology:common_name . ?b property:residence resource:Germany } }
[]
common name
Q7085 Q7085 Q2544781
SYSTEM
Walter Hochmuth for 3rd, Niels Bohr for 1st, 2nd
Q17198141 Q18534257 Q65081 Q60066 Q114060 Q101005 Q5847813 Q25865472 Q15429884 Q107961 Q117139 Q17302908 Q23721911 Q1036172 Q7348968 Q14943164 Q100236 Q12729037 Q5217909 Q215182 Q2221144 Q1983888 Q108459 Q6309468 Q273207 Q24324351 Q1808047 Q12325014 Q7085 Q7085 Q171363 Q2544781 Q656477 Q6776359 Q114060 Q25865472 Q4895819 Q26922710
(c(Q502895),P551,Q183) (c(Q502895),P551,Q35) (c(Q502895),P551,Q40)
action union
action filter_type
action find_reverse
entity Q183
relation P551
type Q502895
action filter_type
action find_reverse
entity Q35
relation P551
type Q502895
action filter_type
action find_reverse
entity Q40
relation P551
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P551', 'Q183'] [{'concept': 'Q502895'}, 'P551', 'Q35'] [{'concept': 'Q502895'}, 'P551', 'Q40']
SELECT DISTINCT ?b WHERE { { ?b property:P551 resource:Q35 . ?b rdf:type ontology:Q502895 } UNION { ?b rdf:type ontology:Q502895 . ?b property:P551 resource:Q183 } }
Darryl Foster Erna Auerbach Marc-Kevin Goellner Gerhard Ertl Hedwig Schlichter Gerd Hirzinger Waldemar Wilhelm Michaël Magne Mary Elizabeth Hawker Bastian Knittel Wiz Khalifa Brenda Sue Fulton Maryna Viazovska Carin C. Tietze Robert Pope Alain Schneider Jan Koemmet Gerd Bonfert Daniel Lencina-Ribes Michael Stipe Sandra Wöhe Eric Wrixon Heiko Harborth Julio Peralta George Egerton Uisenma Borchu Laurens W. Molenkamp Lucy Love Niels Bohr Niels Bohr Viggo Mortensen Walter Hochmuth Christian Frederik von Schalburg Martin Pedersen Hedwig Schlichter Michaël Magne Bertram Steinberger Aline Gohard-Radenkovic
Niels Bohr Niels Bohr Walter Hochmuth
action union
action filter_type
action find_reverse
entity Germany
relation residence
type common name
action filter_type
action find_reverse
entity Denmark
relation residence
type common name
action filter_type
action find_reverse
entity Austria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Germany'] [{'concept': 'common name'}, 'residence', 'Denmark'] [{'concept': 'common name'}, 'residence', 'Austria']
SELECT DISTINCT ?b WHERE { { ?b property:residence resource:Denmark . ?b rdf:type ontology:common_name } UNION { ?b rdf:type ontology:common_name . ?b property:residence resource:Germany } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7085
P184
Q502895
USER
Who was the doctoral advisor of that one ?
(Q7085,P184,c(Q502895))
action filter_type
action find
entity Q7085
relation P184
type Q502895
['Q7085', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7085 property:P184 ?f . ?f rdf:type ontology:Q502895 }
Niels Bohr
action filter_type
action find
entity Niels Bohr
relation doctoral advisor
type common name
['Niels Bohr', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Niels_Bohr property:doctoral_advisor ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2544781
SYSTEM
Did you mean Walter Hochmuth ?
Q7085 Q7085 Q2544781
(Q7085,P184,c(Q502895)) (Q7085,P184,c(Q502895)) (Q2544781,P184,c(Q502895))
[ANSWER]
['Q7085', 'P184', {'concept': 'Q502895'}] ['Q7085', 'P184', {'concept': 'Q502895'}] ['Q2544781', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7085 property:P184 ?f . ?f rdf:type ontology:Q502895 }
Niels Bohr Niels Bohr Walter Hochmuth
Did you mean Walter Hochmuth ?
Walter Hochmuth
['Niels Bohr', 'doctoral advisor', {'concept': 'common name'}] ['Niels Bohr', 'doctoral advisor', {'concept': 'common name'}] ['Walter Hochmuth', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Niels_Bohr property:doctoral_advisor ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Niels Bohr. Could you tell me the answer for that?
(Q7085,P184,c(Q502895))
Q7085
['Q7085', 'P184', {'concept': 'Q502895'}]
['Niels Bohr', 'doctoral advisor', {'concept': 'common name'}]
[]
Q326390
SYSTEM
Christian Christiansen
Q326390
(Q7085,P184,c(Q502895))
action filter_type
action find
entity Q7085
relation P184
type Q502895
[ANSWER]
['Q7085', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7085 property:P184 ?f . ?f rdf:type ontology:Q502895 }
Christian Christiansen
Christian Christiansen
action filter_type
action find
entity Niels Bohr
relation doctoral advisor
type common name
['Niels Bohr', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Niels_Bohr property:doctoral_advisor ?f . ?f rdf:type ontology:common_name }
[]