Simple Question (Direct)
Simple Question
Q11592394
P27
Q15617994
USER
Which administrative territory is Masayuki Fukuoka a civilian of ?
(Q11592394,P27,c(Q15617994))
action filter_type
action find
entity Q11592394
relation P27
type Q15617994
['Q11592394', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q11592394 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Masayuki Fukuoka
action filter_type
action find
entity Masayuki Fukuoka
relation country of citizenship
type designation for an administrative territorial entity
['Masayuki Fukuoka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Masayuki_Fukuoka property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11592394,P27,c(Q15617994))
action filter_type
action find
entity Q11592394
relation P27
type Q15617994
The [ANSWER] is Masayuki Fukuoka a civilian of
['Q11592394', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q11592394 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Japan
The Japan is Masayuki Fukuoka a civilian of
Japan
action filter_type
action find
entity Masayuki Fukuoka
relation country of citizenship
type designation for an administrative territorial entity
['Masayuki Fukuoka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Masayuki_Fukuoka property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11592394
P734
Q82799
USER
Who is associated with that person ?
(Q17,P734,c(Q82799))
action filter_type
action find
entity Q11592394
relation P734
type Q82799
['Q17', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q11592394 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Masayuki Fukuoka
action filter_type
action find
entity Masayuki Fukuoka
relation family name
type name
['Japan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Masayuki_Fukuoka property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q16870048
SYSTEM
Fukuoka
Q16870048
(Q17,P734,c(Q82799))
action filter_type
action find
entity Q11592394
relation P734
type Q82799
[ANSWER] is associated with that person
['Q17', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q11592394 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Fukuoka
Fukuoka is associated with that person
Fukuoka
action filter_type
action find
entity Masayuki Fukuoka
relation family name
type name
['Japan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Masayuki_Fukuoka property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11592394
P19
Q486972
USER
Where was Masayuki Fukuoka born ?
(Q11592394,P19,c(Q486972))
action filter_type
action find
entity Q11592394
relation P19
type Q486972
['Q11592394', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?h WHERE { resource:Q11592394 property:P19 ?h . ?h rdf:type ontology:Q486972 }
Masayuki Fukuoka
action filter_type
action find
entity Masayuki Fukuoka
relation place of birth
type human settlement
['Masayuki Fukuoka', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?h WHERE { resource:Masayuki_Fukuoka property:place_of_birth ?h . ?h rdf:type ontology:human_settlement }
[]
human settlement
Q232628
SYSTEM
Katsushika-ku
Q232628
(Q11592394,P19,c(Q486972))
action filter_type
action find
entity Q11592394
relation P19
type Q486972
Masayuki Fukuoka was born in [ANSWER]
['Q11592394', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?h WHERE { resource:Q11592394 property:P19 ?h . ?h rdf:type ontology:Q486972 }
Katsushika-ku
Masayuki Fukuoka was born in Katsushika-ku
Katsushika-ku
action filter_type
action find
entity Masayuki Fukuoka
relation place of birth
type human settlement
['Masayuki Fukuoka', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?h WHERE { resource:Masayuki_Fukuoka property:place_of_birth ?h . ?h rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1543272
Q486972
USER
And what about Karl August Mosig von Aehrenfeld?
(Q1543272,P19,c(Q486972))
action filter_type
action find
entity Q1543272
relation P19
type Q486972
['Q1543272', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q1543272 property:P19 ?x . ?x rdf:type ontology:Q486972 }
Karl August Mosig von Aehrenfeld
action filter_type
action find
entity Karl August Mosig von Aehrenfeld
relation place of birth
type human settlement
['Karl August Mosig von Aehrenfeld', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Karl_August_Mosig_von_Aehrenfeld property:place_of_birth ?x . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q160417
SYSTEM
Eiserode
Q160417
(Q1543272,P19,c(Q486972))
action filter_type
action find
entity Q1543272
relation P19
type Q486972
[ANSWER]
['Q1543272', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q1543272 property:P19 ?x . ?x rdf:type ontology:Q486972 }
Eiserode
Eiserode
action filter_type
action find
entity Karl August Mosig von Aehrenfeld
relation place of birth
type human settlement
['Karl August Mosig von Aehrenfeld', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Karl_August_Mosig_von_Aehrenfeld property:place_of_birth ?x . ?x rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q271669 Q82794 Q486972
USER
How many human settlements are located in approximately 1 landforms and geographic regions ?
(c(Q486972),P706,c(Q271669)|c(Q82794))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q486972
type Q271669
action find_tuple_counts
relation P706
type Q486972
type Q82794
value 1
[{'concept': 'Q486972'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?k WHERE { VALUES ( ?p ) { ( ontology:Q271669 ) ( ontology:Q82794 ) } . ?d rdf:type ?p } GROUP BY ?k } . FILTER ( ?l = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type human settlement
type landform
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic region
value 1
[{'concept': 'human settlement'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?k WHERE { VALUES ( ?p ) { ( ontology:landform ) ( ontology:geographic_region ) } . ?d rdf:type ?p } GROUP BY ?k } . FILTER ( ?l = 1 ) }
[]
landform geographic region human settlement
SYSTEM
40
Q10431952 Q1543659 Q3460040 Q1194668 Q3351817 Q27998 Q2282756 Q1266661 Q881265 Q20629 Q1440032 Q2146309 Q1235576 Q1296117 Q1643547 Q303734 Q10532214 Q3459768 Q1580580 Q17468609 Q21039 Q996014 Q20767 Q20649 Q20648 Q20646 Q477462 Q62569 Q15849488 Q2031633 Q12882647 Q997023 Q10550336 Q1524629 Q649494 Q10430531 Q7131792 Q10548412 Q939711 Q2168982
(c(Q486972),P706,c(Q271669)|c(Q82794))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q486972
type Q271669
action find_tuple_counts
relation P706
type Q486972
type Q82794
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?k WHERE { VALUES ( ?p ) { ( ontology:Q271669 ) ( ontology:Q82794 ) } . ?d rdf:type ?p } GROUP BY ?k } . FILTER ( ?l = 1 ) }
Bodal Gratzfeld Water Mill Stock Island Islands Brygge Westerland Siefenhoven Bantam Ruhlsdorf Morsum Neichen Retscheid Eudenbach Efferoth Höhe Aathal Högberga Ronkonkoma Nösund Jüngsfeld Rantum Setauket-East Setauket Keitum Munkmarsch Archsum Tinnum Kizhi Pogost Rockaway Stubbenfelde Orscheid Old town of Rethymno Brüngsberg Kungsklippan Himberg Pfiffelbach Björkboda Panther Hollow Kottla Girne District Rottbitze
40
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type human settlement
type landform
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic region
value 1
[{'concept': 'human settlement'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?k WHERE { VALUES ( ?p ) { ( ontology:landform ) ( ontology:geographic_region ) } . ?d rdf:type ?p } GROUP BY ?k } . FILTER ( ?l = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q160417
P17
Q1048835
USER
Which political territory is Eiserode a part of ?
(Q160417,P17,c(Q1048835))
action filter_type
action find
entity Q160417
relation P17
type Q1048835
['Q160417', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q160417 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Eiserode
action filter_type
action find
entity Eiserode
relation country
type political territorial entity
['Eiserode', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Eiserode property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q160417,P17,c(Q1048835))
action filter_type
action find
entity Q160417
relation P17
type Q1048835
Which political territory is Eiserode a part of
['Q160417', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q160417 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Germany
Which political territory is Eiserode a part of
Germany
action filter_type
action find
entity Eiserode
relation country
type political territorial entity
['Eiserode', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Eiserode property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2058522 Q160417
P17
Q1048835
USER
Or Paul Gerhardt church?
OR((Q160417,P17,c(Q1048835)), (Q2058522,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q160417
relation P17
action find
entity Q2058522
relation P17
type Q1048835
{'OR': [['Q160417', 'P17', {'concept': 'Q1048835'}], ['Q2058522', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { ?d property:P17 ?p . VALUES ( ?d ) { ( resource:Q160417 ) ( resource:Q2058522 ) } } . ?p rdf:type ontology:Q1048835 }
Paul Gerhardt church Eiserode
action filter_type
action union
action find
entity Eiserode
relation country
action find
entity Paul Gerhardt church
relation country
type political territorial entity
{'OR': [['Eiserode', 'country', {'concept': 'political territorial entity'}], ['Paul Gerhardt church', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?d property:country ?p . VALUES ( ?d ) { ( resource:Eiserode ) ( resource:Paul_Gerhardt_church ) } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q160417,P17,c(Q1048835)), (Q2058522,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q160417
relation P17
action find
entity Q2058522
relation P17
type Q1048835
[ANSWER]
{'OR': [['Q160417', 'P17', {'concept': 'Q1048835'}], ['Q2058522', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { ?d property:P17 ?p . VALUES ( ?d ) { ( resource:Q160417 ) ( resource:Q2058522 ) } } . ?p rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action union
action find
entity Eiserode
relation country
action find
entity Paul Gerhardt church
relation country
type political territorial entity
{'OR': [['Eiserode', 'country', {'concept': 'political territorial entity'}], ['Paul Gerhardt church', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?d property:country ?p . VALUES ( ?d ) { ( resource:Eiserode ) ( resource:Paul_Gerhardt_church ) } } . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P530
Q515 Q15617994
USER
How many cities or administrative territories have diplomatic relations with Germany ?
(c(Q515),P530,Q183) (c(Q15617994),P530,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P530
type Q515
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[{'concept': 'Q515'}, 'P530', 'Q183'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } . ?p rdf:type ?j }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type city
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'city'}, 'diplomatic relation', 'Germany'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } . ?p rdf:type ?j }
[]
city designation for an administrative territorial entity
SYSTEM
125
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q235 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(c(Q515),P530,Q183) (c(Q15617994),P530,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P530
type Q515
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q515'}, 'P530', 'Q183'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } . ?p rdf:type ?j }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Monaco Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
125
action count
action union
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type city
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'city'}, 'diplomatic relation', 'Germany'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } . ?p rdf:type ?j }
[]