Simple Question (Direct)
Simple Question
Q799833
P734
Q82799
USER
Who is associated with Tanaka Fujimaro ?
(Q799833,P734,c(Q82799))
action filter_type
action find
entity Q799833
relation P734
type Q82799
['Q799833', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q799833 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Tanaka Fujimaro
action filter_type
action find
entity Tanaka Fujimaro
relation family name
type name
['Tanaka Fujimaro', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Tanaka_Fujimaro property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q12159869
SYSTEM
Tanaka
Q12159869
(Q799833,P734,c(Q82799))
action filter_type
action find
entity Q799833
relation P734
type Q82799
[ANSWER] is associated with [ANSWER] Fujimaro
['Q799833', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q799833 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Tanaka
Tanaka is associated with Tanaka Fujimaro
Tanaka
action filter_type
action find
entity Tanaka Fujimaro
relation family name
type name
['Tanaka Fujimaro', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Tanaka_Fujimaro property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q799833
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q12159869,P27,c(Q15617994))
action filter_type
action find
entity Q799833
relation P27
type Q15617994
['Q12159869', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q799833 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Tanaka Fujimaro
action filter_type
action find
entity Tanaka Fujimaro
relation country of citizenship
type designation for an administrative territorial entity
['Tanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Tanaka_Fujimaro property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q12159869,P27,c(Q15617994))
action filter_type
action find
entity Q799833
relation P27
type Q15617994
To [ANSWER] is the native country of that person
['Q12159869', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q799833 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Japan
To Japan is the native country of that person
Japan
action filter_type
action find
entity Tanaka Fujimaro
relation country of citizenship
type designation for an administrative territorial entity
['Tanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Tanaka_Fujimaro property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?c ) { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?d ) WHERE { ?s rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 . ?s property:P530 ?g } GROUP BY ?s } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?t ) WHERE { ?k property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?k } . FILTER ( ?t = ?c ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?c ) { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?d ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?g } GROUP BY ?s } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?t ) WHERE { ?k property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?k } . FILTER ( ?t = ?c ) }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?c ) { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?d ) WHERE { ?s rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 . ?s property:P530 ?g } GROUP BY ?s } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?t ) WHERE { ?k property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?k } . FILTER ( ?t = ?c ) }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relations with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?c ) { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?d ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?g } GROUP BY ?s } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?t ) WHERE { ?k property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?k } . FILTER ( ?t = ?c ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q685 Q691
P17
Q355304
USER
Which watercourses are located in those political territories ?
(c(Q355304),P17,Q685) (c(Q355304),P17,Q691)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q355304
[{'concept': 'Q355304'}, 'P17', 'Q685'] [{'concept': 'Q355304'}, 'P17', 'Q691']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q355304 . ?d property:P17 ?y . VALUES ( ?y ) { ( resource:Q685 ) ( resource:Q691 ) } }
Solomon Islands Papua New Guinea
action filter_type
action find_reverse
entity prev_answer
relation country
type watercourse
[{'concept': 'watercourse'}, 'country', 'Solomon Islands'] [{'concept': 'watercourse'}, 'country', 'Papua New Guinea']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:watercourse . ?d property:country ?y . VALUES ( ?y ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } }
[]
watercourse
Q848308 Q739751 Q1900767
SYSTEM
Sepik, Fly River, Markham River
Q349460 Q349382 Q392280 Q6745503 Q7513753 Q2074564 Q4850916 Q5519539 Q4688784 Q5099317 Q4779125 Q6703334 Q7969420 Q848308 Q4916336 Q739751 Q7554485 Q4817151 Q6444090 Q5577432 Q5533129 Q5615184 Q2064454 Q1719667 Q4812801 Q7561041 Q6216422 Q1724008 Q1741220 Q4841193 Q7975082 Q1900767 Q15242913 Q7826221 Q2095309 Q4813053 Q4997284 Q16849795 Q2017009 Q5564842 Q4780019 Q16902513 Q7968799 Q15245960 Q4699947 Q6741369 Q4687747 Q694188 Q4803617 Q16902588 Q6109780 Q4666475 Q2552936 Q16833842
(c(Q355304),P17,Q685) (c(Q355304),P17,Q691)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q355304
[ANSWERS] are located in those political territories
[{'concept': 'Q355304'}, 'P17', 'Q685'] [{'concept': 'Q355304'}, 'P17', 'Q691']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q355304 . ?d property:P17 ?y . VALUES ( ?y ) { ( resource:Q685 ) ( resource:Q691 ) } }
Lunga River (Solomon Islands) Matanikau River Tenaru River Mambare River Siki River Turama River Balima River Gama River Afai River Chimbu River Aparam River Lumis River Waria River Sepik Birim River Fly River Sogeram River Atob River Kumusi River Gogol River Genga River Guga River Ramu Kabenau River Atara River Song River Johanna River Purari River Kikori River Bae'e River Watut River Markham River Lossuk River Torokina River Strickland River Ateltem River Bumi River Busu River Ok Tedi River Girua River Apmi River Vanapa River Warangoi River Mape River Ajova River Malas River Aemoi River Pulau River Asaro River Veimauri River Jaba River Abede River Wawoi River Aroa River
Sepik, Fly River and Markham River are located in those political territories
Sepik Fly River Markham River
action filter_type
action find_reverse
entity prev_answer
relation country
type watercourse
[{'concept': 'watercourse'}, 'country', 'Solomon Islands'] [{'concept': 'watercourse'}, 'country', 'Papua New Guinea']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:watercourse . ?d property:country ?y . VALUES ( ?y ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q848308 Q739751 Q1900767
P17
Q1048835
USER
Which political territories are Sepik, Fly River and Markham River located in ?
(Q848308,P17,c(Q1048835)) (Q739751,P17,c(Q1048835)) (Q1900767,P17,c(Q1048835))
action union
action filter_type
action find
entity Q848308
relation P17
type Q1048835
action filter_type
action find
entity Q739751
relation P17
type Q1048835
action filter_type
action find
entity Q1900767
relation P17
type Q1048835
['Q848308', 'P17', {'concept': 'Q1048835'}] ['Q739751', 'P17', {'concept': 'Q1048835'}] ['Q1900767', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { ?x property:P17 ?w . VALUES ( ?x ) { ( resource:Q739751 ) ( resource:Q848308 ) } }
Sepik Fly River Markham River
action union
action filter_type
action find
entity Sepik
relation country
type political territorial entity
action filter_type
action find
entity Fly River
relation country
type political territorial entity
action filter_type
action find
entity Markham River
relation country
type political territorial entity
['Sepik', 'country', {'concept': 'political territorial entity'}] ['Fly River', 'country', {'concept': 'political territorial entity'}] ['Markham River', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { ?x property:country ?w . VALUES ( ?x ) { ( resource:Fly_River ) ( resource:Sepik ) } }
[]
political territorial entity
Q691 Q691 Q691
SYSTEM
Papua New Guinea
Q691 Q691 Q691
(Q848308,P17,c(Q1048835)) (Q739751,P17,c(Q1048835)) (Q1900767,P17,c(Q1048835))
action union
action filter_type
action find
entity Q848308
relation P17
type Q1048835
action filter_type
action find
entity Q739751
relation P17
type Q1048835
action filter_type
action find
entity Q1900767
relation P17
type Q1048835
And [ANSWER], [ANSWER] and [ANSWER] are Sepik, Fly River and Markham River located in
['Q848308', 'P17', {'concept': 'Q1048835'}] ['Q739751', 'P17', {'concept': 'Q1048835'}] ['Q1900767', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { ?x property:P17 ?w . VALUES ( ?x ) { ( resource:Q739751 ) ( resource:Q848308 ) } }
Papua New Guinea Papua New Guinea Papua New Guinea
And Papua New Guinea, Papua New Guinea and Papua New Guinea are Sepik, Fly River and Markham River located in
Papua New Guinea Papua New Guinea Papua New Guinea
action union
action filter_type
action find
entity Sepik
relation country
type political territorial entity
action filter_type
action find
entity Fly River
relation country
type political territorial entity
action filter_type
action find
entity Markham River
relation country
type political territorial entity
['Sepik', 'country', {'concept': 'political territorial entity'}] ['Fly River', 'country', {'concept': 'political territorial entity'}] ['Markham River', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { ?x property:country ?w . VALUES ( ?x ) { ( resource:Fly_River ) ( resource:Sepik ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691
P1532
Q502895
USER
Who represent Papua New Guinea ?
(c(Q502895),P1532,Q691)
action filter_type
action find_reverse
entity Q691
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q691']
SELECT DISTINCT ?q WHERE { ?q property:P1532 resource:Q691 . ?q rdf:type ontology:Q502895 }
Papua New Guinea
action filter_type
action find_reverse
entity Papua New Guinea
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Papua New Guinea']
SELECT DISTINCT ?q WHERE { ?q property:country_for_sport resource:Papua_New_Guinea . ?q rdf:type ontology:common_name }
[]
common name
Q20902043 Q21858388
SYSTEM
Donna Koniel, Peter Pulu
Q20902043 Q21858388
(c(Q502895),P1532,Q691)
action filter_type
action find_reverse
entity Q691
relation P1532
type Q502895
The [ANSWERS] represent Papua New Guinea
[{'concept': 'Q502895'}, 'P1532', 'Q691']
SELECT DISTINCT ?q WHERE { ?q property:P1532 resource:Q691 . ?q rdf:type ontology:Q502895 }
Donna Koniel Peter Pulu
The Donna Koniel and Peter Pulu represent Papua New Guinea
Donna Koniel Peter Pulu
action filter_type
action find_reverse
entity Papua New Guinea
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Papua New Guinea']
SELECT DISTINCT ?q WHERE { ?q property:country_for_sport resource:Papua_New_Guinea . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q20902043 Q21858388
P1344
Q13406554
USER
What did Donna Koniel and Peter Pulu participate in ?
(Q20902043,P1344,c(Q13406554)) (Q21858388,P1344,c(Q13406554))
action union
action filter_type
action find
entity Q20902043
relation P1344
type Q13406554
action filter_type
action find
entity Q21858388
relation P1344
type Q13406554
['Q20902043', 'P1344', {'concept': 'Q13406554'}] ['Q21858388', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?o WHERE { { resource:Q21858388 property:P1344 ?o . ?o rdf:type ontology:Q13406554 } UNION { ?o rdf:type ontology:Q13406554 . resource:Q20902043 property:P1344 ?o } }
Donna Koniel Peter Pulu
action union
action filter_type
action find
entity Donna Koniel
relation participant of
type sport competition
action filter_type
action find
entity Peter Pulu
relation participant of
type sport competition
['Donna Koniel', 'participant of', {'concept': 'sport competition'}] ['Peter Pulu', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?o WHERE { { resource:Peter_Pulu property:participant_of ?o . ?o rdf:type ontology:sport_competition } UNION { ?o rdf:type ontology:sport_competition . resource:Donna_Koniel property:participant_of ?o } }
[]
sport competition
Q1026555 Q651420 Q651450
SYSTEM
2015 World Championships in Athletics, 1995 World Championships in Athletics, 1997 World Championships in Athletics
Q1026555 Q651420 Q651450
(Q20902043,P1344,c(Q13406554)) (Q21858388,P1344,c(Q13406554))
action union
action filter_type
action find
entity Q20902043
relation P1344
type Q13406554
action filter_type
action find
entity Q21858388
relation P1344
type Q13406554
Donna Koniel and Peter Pulu participated in [ANSWERS]
['Q20902043', 'P1344', {'concept': 'Q13406554'}] ['Q21858388', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?o WHERE { { resource:Q21858388 property:P1344 ?o . ?o rdf:type ontology:Q13406554 } UNION { ?o rdf:type ontology:Q13406554 . resource:Q20902043 property:P1344 ?o } }
2015 World Championships in Athletics 1995 World Championships in Athletics 1997 World Championships in Athletics
Donna Koniel and Peter Pulu participated in 2015 World Championships in Athletics, 1995 World Championships in Athletics and 1997 World Championships in Athletics
2015 World Championships in Athletics 1995 World Championships in Athletics 1997 World Championships in Athletics
action union
action filter_type
action find
entity Donna Koniel
relation participant of
type sport competition
action filter_type
action find
entity Peter Pulu
relation participant of
type sport competition
['Donna Koniel', 'participant of', {'concept': 'sport competition'}] ['Peter Pulu', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?o WHERE { { resource:Peter_Pulu property:participant_of ?o . ?o rdf:type ontology:sport_competition } UNION { ?o rdf:type ontology:sport_competition . resource:Donna_Koniel property:participant_of ?o } }
[]