Simple Question (Direct)
Simple Question
Q1161368
P20
Q56061
USER
Where did Daniel Klesch expire ?
(Q1161368,P20,c(Q56061))
action filter_type
action find
entity Q1161368
relation P20
type Q56061
['Q1161368', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1161368 property:P20 ?f }
Daniel Klesch
action filter_type
action find
entity Daniel Klesch
relation place of death
type administrative territorial entity
['Daniel Klesch', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Daniel_Klesch property:place_of_death ?f }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1161368,P20,c(Q56061))
action filter_type
action find
entity Q1161368
relation P20
type Q56061
Daniel Klesch expired [ANSWER]
['Q1161368', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1161368 property:P20 ?f }
Berlin
Daniel Klesch expired Berlin
Berlin
action filter_type
action find
entity Daniel Klesch
relation place of death
type administrative territorial entity
['Daniel Klesch', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Daniel_Klesch property:place_of_death ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1161368
P463
Q15911314
USER
Which organization was Daniel Klesch a member of ?
(Q1161368,P463,c(Q15911314))
action filter_type
action find
entity Q1161368
relation P463
type Q15911314
['Q1161368', 'P463', {'concept': 'Q15911314'}]
SELECT DISTINCT ?f WHERE { resource:Q1161368 property:P463 ?f . ?f rdf:type ontology:Q15911314 }
Daniel Klesch
action filter_type
action find
entity Daniel Klesch
relation member of
type association
['Daniel Klesch', 'member of', {'concept': 'association'}]
SELECT DISTINCT ?f WHERE { resource:Daniel_Klesch property:member_of ?f . ?f rdf:type ontology:association }
[]
association
Q559186
SYSTEM
Fruitbearing Society
Q559186
(Q1161368,P463,c(Q15911314))
action filter_type
action find
entity Q1161368
relation P463
type Q15911314
The [ANSWER] was Daniel Klesch a member of
['Q1161368', 'P463', {'concept': 'Q15911314'}]
SELECT DISTINCT ?f WHERE { resource:Q1161368 property:P463 ?f . ?f rdf:type ontology:Q15911314 }
Fruitbearing Society
The Fruitbearing Society was Daniel Klesch a member of
Fruitbearing Society
action filter_type
action find
entity Daniel Klesch
relation member of
type association
['Daniel Klesch', 'member of', {'concept': 'association'}]
SELECT DISTINCT ?f WHERE { resource:Daniel_Klesch property:member_of ?f . ?f rdf:type ontology:association }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1161368
P937
Q56061
USER
Where did Daniel Klesch work ?
(Q1161368,P937,c(Q56061))
action filter_type
action find
entity Q1161368
relation P937
type Q56061
['Q1161368', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1161368 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Daniel Klesch
action filter_type
action find
entity Daniel Klesch
relation work location
type administrative territorial entity
['Daniel Klesch', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Daniel_Klesch property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3150
SYSTEM
Jena
Q3150
(Q1161368,P937,c(Q56061))
action filter_type
action find
entity Q1161368
relation P937
type Q56061
Daniel Klesch worked in [ANSWER]
['Q1161368', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1161368 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Jena
Daniel Klesch worked in Jena
Jena
action filter_type
action find
entity Daniel Klesch
relation work location
type administrative territorial entity
['Daniel Klesch', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Daniel_Klesch property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3150
P6
Q502895
USER
Which people do that administrative territory serve as the head of government for ?
(Q3150,P6,c(Q502895))
action filter_type
action find
entity Q3150
relation P6
type Q502895
['Q3150', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q3150 property:P6 ?r }
Jena
action filter_type
action find
entity Jena
relation head of government
type common name
['Jena', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Jena property:head_of_government ?r }
[]
common name
Q2077955 Q109029
SYSTEM
Peter Röhlinger, Albrecht Schröter
Q2077955 Q109029
(Q3150,P6,c(Q502895))
action filter_type
action find
entity Q3150
relation P6
type Q502895
[ANSWERS] that administrative territory serve as the head of government for
['Q3150', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q3150 property:P6 ?r }
Peter Röhlinger Albrecht Schröter
Peter Röhlinger and Albrecht Schröter that administrative territory serve as the head of government for
Peter Röhlinger Albrecht Schröter
action filter_type
action find
entity Jena
relation head of government
type common name
['Jena', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Jena property:head_of_government ?r }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15223209
P6
Q56061
USER
Are those people the head of the goverment of Hasanabad-e Mehrab Jan ?
(Q15223209,P6,Q2077955) (Q15223209,P6,Q109029)
action is_in
entity prev_answer
action find
entity Q15223209
relation P6
['Q15223209', 'P6', 'Q2077955'] ['Q15223209', 'P6', 'Q109029']
ASK WHERE { resource:Q15223209 property:P6 ?t . VALUES ( ?t ) { ( resource:Q2077955 ) ( resource:Q109029 ) } }
Hasanabad-e Mehrab Jan
action is_in
entity prev_answer
action find
entity Hasanabad-e Mehrab Jan
relation head of government
['Hasanabad-e Mehrab Jan', 'head of government', 'Peter Röhlinger'] ['Hasanabad-e Mehrab Jan', 'head of government', 'Albrecht Schröter']
ASK WHERE { resource:Hasanabad-e_Mehrab_Jan property:head_of_government ?t . VALUES ( ?t ) { ( resource:Peter_Röhlinger ) ( resource:Albrecht_Schröter ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q15223209,P6,Q2077955) (Q15223209,P6,Q109029)
action is_in
entity prev_answer
action find
entity Q15223209
relation P6
[ANSWER]
['Q15223209', 'P6', 'Q2077955'] ['Q15223209', 'P6', 'Q109029']
ASK WHERE { resource:Q15223209 property:P6 ?t . VALUES ( ?t ) { ( resource:Q2077955 ) ( resource:Q109029 ) } }
No
action is_in
entity prev_answer
action find
entity Hasanabad-e Mehrab Jan
relation head of government
['Hasanabad-e Mehrab Jan', 'head of government', 'Peter Röhlinger'] ['Hasanabad-e Mehrab Jan', 'head of government', 'Albrecht Schröter']
ASK WHERE { resource:Hasanabad-e_Mehrab_Jan property:head_of_government ?t . VALUES ( ?t ) { ( resource:Peter_Röhlinger ) ( resource:Albrecht_Schröter ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2077955
P6
Q56061
USER
How many administrative territories are Peter Röhlinger the head of the goverment of ?
(c(Q56061),P6,Q2077955)
action count
action filter_type
action find_reverse
entity Q2077955
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', 'Q2077955']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P6 resource:Q2077955 . ?d rdf:type ontology:Q56061 }
Peter Röhlinger
action count
action filter_type
action find_reverse
entity Peter Röhlinger
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Peter Röhlinger']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:head_of_government resource:Peter_Röhlinger . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q3150
(c(Q56061),P6,Q2077955)
action count
action filter_type
action find_reverse
entity Q2077955
relation P6
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P6', 'Q2077955']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P6 resource:Q2077955 . ?d rdf:type ontology:Q56061 }
Jena
1
action count
action filter_type
action find_reverse
entity Peter Röhlinger
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Peter Röhlinger']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:head_of_government resource:Peter_Röhlinger . ?d rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18747017 Q109029
P6
Q56061
USER
Which administrative territories have Albrecht Schröter or Heinz Scheinpflug as their administrative leader ?
OR((c(Q56061),P6,Q109029), (c(Q56061),P6,Q18747017))
action filter_type
action union
action find_reverse
entity Q109029
relation P6
action find_reverse
entity Q18747017
relation P6
type Q56061
{'OR': [[{'concept': 'Q56061'}, 'P6', 'Q109029'], [{'concept': 'Q56061'}, 'P6', 'Q18747017']]}
SELECT DISTINCT ?p WHERE { { { ?p property:P6 resource:Q109029 } UNION { ?p property:P6 resource:Q18747017 } } . ?p rdf:type ontology:Q56061 }
Heinz Scheinpflug Albrecht Schröter
action filter_type
action union
action find_reverse
entity Albrecht Schröter
relation head of government
action find_reverse
entity Heinz Scheinpflug
relation head of government
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'head of government', 'Albrecht Schröter'], [{'concept': 'administrative territorial entity'}, 'head of government', 'Heinz Scheinpflug']]}
SELECT DISTINCT ?p WHERE { { { ?p property:head_of_government resource:Albrecht_Schröter } UNION { ?p property:head_of_government resource:Heinz_Scheinpflug } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3150 Q1729
SYSTEM
Jena, Erfurt
Q3150 Q1729
OR((c(Q56061),P6,Q109029), (c(Q56061),P6,Q18747017))
action filter_type
action union
action find_reverse
entity Q109029
relation P6
action find_reverse
entity Q18747017
relation P6
type Q56061
[ANSWERS] have Albrecht Schröter or Heinz Scheinpflug as their administrative leader
{'OR': [[{'concept': 'Q56061'}, 'P6', 'Q109029'], [{'concept': 'Q56061'}, 'P6', 'Q18747017']]}
SELECT DISTINCT ?p WHERE { { { ?p property:P6 resource:Q109029 } UNION { ?p property:P6 resource:Q18747017 } } . ?p rdf:type ontology:Q56061 }
Jena Erfurt
Jena and Erfurt have Albrecht Schröter or Heinz Scheinpflug as their administrative leader
Jena Erfurt
action filter_type
action union
action find_reverse
entity Albrecht Schröter
relation head of government
action find_reverse
entity Heinz Scheinpflug
relation head of government
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'head of government', 'Albrecht Schröter'], [{'concept': 'administrative territorial entity'}, 'head of government', 'Heinz Scheinpflug']]}
SELECT DISTINCT ?p WHERE { { { ?p property:head_of_government resource:Albrecht_Schröter } UNION { ?p property:head_of_government resource:Heinz_Scheinpflug } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17349193 Q3150
P19 P190
Q56061
USER
Which administrative territories are twin towns of Jena or are the places of birth of Luiz Alberto Dias Menezes ?
OR((Q3150,P190,c(Q56061)), (Q17349193,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3150
relation P190
action find
entity Q17349193
relation P19
type Q56061
{'OR': [['Q3150', 'P190', {'concept': 'Q56061'}], ['Q17349193', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . { { resource:Q3150 property:P190 ?k } UNION { resource:Q17349193 property:P19 ?k } } }
Luiz Alberto Dias Menezes Jena
action filter_type
action union
action find
entity Jena
relation sister city
action find
entity Luiz Alberto Dias Menezes
relation place of birth
type administrative territorial entity
{'OR': [['Jena', 'sister city', {'concept': 'administrative territorial entity'}], ['Luiz Alberto Dias Menezes', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . { { resource:Jena property:sister_city ?k } UNION { resource:Luiz_Alberto_Dias_Menezes property:place_of_birth ?k } } }
[]
administrative territorial entity
Q484678 Q803984 Q174 Q36433
SYSTEM
Berkeley, Beit Jala, São Paulo, Porto
Q484678 Q803984 Q174 Q36433
OR((Q3150,P190,c(Q56061)), (Q17349193,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3150
relation P190
action find
entity Q17349193
relation P19
type Q56061
[ANSWERS] are twin towns of Jena or are the places of birth of Luiz Alberto Dias Menezes
{'OR': [['Q3150', 'P190', {'concept': 'Q56061'}], ['Q17349193', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . { { resource:Q3150 property:P190 ?k } UNION { resource:Q17349193 property:P19 ?k } } }
Berkeley Beit Jala São Paulo Porto
Berkeley, Beit Jala, São Paulo and Porto are twin towns of Jena or are the places of birth of Luiz Alberto Dias Menezes
Berkeley Beit Jala São Paulo Porto
action filter_type
action union
action find
entity Jena
relation sister city
action find
entity Luiz Alberto Dias Menezes
relation place of birth
type administrative territorial entity
{'OR': [['Jena', 'sister city', {'concept': 'administrative territorial entity'}], ['Luiz Alberto Dias Menezes', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . { { resource:Jena property:sister_city ?k } UNION { resource:Luiz_Alberto_Dias_Menezes property:place_of_birth ?k } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q174
P190
Q56061
USER
How many administrative territories are the sister cities of São Paulo ?
(Q174,P190,c(Q56061))
action count
action filter_type
action find
entity Q174
relation P190
type Q56061
['Q174', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q174 property:P190 ?l . ?l rdf:type ontology:Q56061 }
São Paulo
action count
action filter_type
action find
entity São Paulo
relation sister city
type administrative territorial entity
['São Paulo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:São_Paulo property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
29
Q8686 Q3766 Q181966 Q433574 Q5818 Q44059 Q1297 Q597 Q425410 Q44237 Q1781 Q3703 Q1563 Q3897 Q54898 Q1489 Q33935 Q45412 Q206933 Q172 Q2868 Q490 Q14314 Q956 Q1335 Q159273 Q3805 Q1491 Q1492
(Q174,P190,c(Q56061))
action count
action filter_type
action find
entity Q174
relation P190
type Q56061
[ANSWER]
['Q174', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q174 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Shanghai Damascus Naha Alta Floresta Córdoba La Plata Chicago Lisbon Góis Municipality Mendoza Budapest Bamako Havana Luanda San Cristóbal de La Laguna Mexico City Tel Aviv Coimbra Leiria Toronto Lima Milan Santiago de Compostela Beijing Montevideo Arequipa Amman La Paz Barcelona
29
action count
action filter_type
action find
entity São Paulo
relation sister city
type administrative territorial entity
['São Paulo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:São_Paulo property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174
P931
Q62447
USER
Which aerodromes serve that administrative territory ?
action filter_type
action find_reverse
entity Q174
relation P931
type Q62447
SELECT DISTINCT ?b WHERE { ?b property:P931 resource:Q174 . ?b rdf:type ontology:Q62447 }
São Paulo
action filter_type
action find_reverse
entity São Paulo
relation place served by airport
type aerodrome
SELECT DISTINCT ?b WHERE { ?b property:place_served_by_airport resource:São_Paulo . ?b rdf:type ontology:aerodrome }
[]
aerodrome
Q2578866 Q862401
SYSTEM
Campo de Marte Airport, Congonhas-São Paulo Airport
Q2578866 Q862401
action filter_type
action find_reverse
entity Q174
relation P931
type Q62447
[ANSWERS] serve that administrative territory
SELECT DISTINCT ?b WHERE { ?b property:P931 resource:Q174 . ?b rdf:type ontology:Q62447 }
Campo de Marte Airport Congonhas-São Paulo Airport
Campo de Marte Airport and Congonhas-São Paulo Airport serve that administrative territory
Campo de Marte Airport Congonhas-São Paulo Airport
action filter_type
action find_reverse
entity São Paulo
relation place served by airport
type aerodrome
SELECT DISTINCT ?b WHERE { ?b property:place_served_by_airport resource:São_Paulo . ?b rdf:type ontology:aerodrome }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q667276 Q2668072 Q502895
USER
Which people were displayed at exactly 5 art exhibitions or collections ?
(c(Q502895),P608,c(Q667276)|c(Q2668072))
action equal
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q2668072
value 5
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?f WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2668072 ) ( ontology:Q667276 ) } } GROUP BY ?f } . FILTER ( ?d = 5 ) }
action equal
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type collection
value 5
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'collection'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?f WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:collection ) ( ontology:art_exhibition ) } } GROUP BY ?f } . FILTER ( ?d = 5 ) }
[]
art exhibition collection common name
Q15527965
SYSTEM
Margaretha Roosenboom
Q15527965
(c(Q502895),P608,c(Q667276)|c(Q2668072))
action equal
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q2668072
value 5
[ANSWER] was displayed at exactly 5 art exhibitions or collections
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?f WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2668072 ) ( ontology:Q667276 ) } } GROUP BY ?f } . FILTER ( ?d = 5 ) }
Margaretha Roosenboom
Margaretha Roosenboom was displayed at exactly 5 art exhibitions or collections
Margaretha Roosenboom
action equal
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type collection
value 5
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'collection'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?f WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:collection ) ( ontology:art_exhibition ) } } GROUP BY ?f } . FILTER ( ?d = 5 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15527965 Q17108564 Q320637
P551
Q15617994
USER
Does Margaretha Roosenboom have residence at San Marcos Consolidated Independent School District and Schaprode ?
(Q15527965,P551,Q17108564) (Q15527965,P551,Q320637)
action is_in
entity Q15527965
action intersection
action find_reverse
entity Q17108564
relation P551
action find_reverse
entity Q320637
relation P551
['Q15527965', 'P551', 'Q17108564'] ['Q15527965', 'P551', 'Q320637']
ASK WHERE { resource:Q15527965 property:P551 resource:Q17108564 . resource:Q15527965 property:P551 resource:Q320637 }
Margaretha Roosenboom San Marcos Consolidated Independent School District Schaprode
action is_in
entity Margaretha Roosenboom
action intersection
action find_reverse
entity San Marcos Consolidated Independent School District
relation residence
action find_reverse
entity Schaprode
relation residence
['Margaretha Roosenboom', 'residence', 'San Marcos Consolidated Independent School District'] ['Margaretha Roosenboom', 'residence', 'Schaprode']
ASK WHERE { resource:Margaretha_Roosenboom property:residence resource:San_Marcos_Consolidated_Independent_School_District . resource:Margaretha_Roosenboom property:residence resource:Schaprode }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q15527965,P551,Q17108564) (Q15527965,P551,Q320637)
action is_in
entity Q15527965
action intersection
action find_reverse
entity Q17108564
relation P551
action find_reverse
entity Q320637
relation P551
[ANSWER]
['Q15527965', 'P551', 'Q17108564'] ['Q15527965', 'P551', 'Q320637']
ASK WHERE { resource:Q15527965 property:P551 resource:Q17108564 . resource:Q15527965 property:P551 resource:Q320637 }
No
action is_in
entity Margaretha Roosenboom
action intersection
action find_reverse
entity San Marcos Consolidated Independent School District
relation residence
action find_reverse
entity Schaprode
relation residence
['Margaretha Roosenboom', 'residence', 'San Marcos Consolidated Independent School District'] ['Margaretha Roosenboom', 'residence', 'Schaprode']
ASK WHERE { resource:Margaretha_Roosenboom property:residence resource:San_Marcos_Consolidated_Independent_School_District . resource:Margaretha_Roosenboom property:residence resource:Schaprode }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P559
Q56061 Q628179 Q83620
USER
Which administrative territories are a terminus for min number of trails and thoroughfares ?
(c(Q628179)|c(Q83620),P559,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
[[{'concept': 'Q628179'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?z ) WHERE { VALUES ( ?t ) { ( ontology:Q628179 ) ( ontology:Q83620 ) } . ?m rdf:type ?t } GROUP BY ?r } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?o ) { ( ontology:Q628179 ) ( ontology:Q83620 ) } . ?i rdf:type ?o } GROUP BY ?k } . FILTER ( ?g = ?l ) }
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
[[{'concept': 'trail'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?z ) WHERE { VALUES ( ?t ) { ( ontology:trail ) ( ontology:thoroughfare ) } . ?m rdf:type ?t } GROUP BY ?r } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?o ) { ( ontology:trail ) ( ontology:thoroughfare ) } . ?i rdf:type ?o } GROUP BY ?k } . FILTER ( ?g = ?l ) }
[]
administrative territorial entity trail thoroughfare
Q65 Q585 Q12191
SYSTEM
Los Angeles, Oslo, Nantes
Q3051477 Q1020217 Q3812238 Q69639 Q375314 Q12439 Q2814 Q541055 Q4825403 Q575557 Q985313 Q687333 Q932159 Q3469728 Q185453 Q588804 Q5902931 Q723372 Q167155 Q2272 Q7811572 Q7651719 Q134620 Q992420 Q556989 Q1011611 Q2065223 Q42159 Q1009428 Q1011221 Q7050868 Q24826 Q6509 Q5477618 Q5032535 Q4356873 Q11839080 Q585 Q35433 Q66208 Q2796951 Q848909 Q1420136 Q754868 Q687945 Q125080 Q782155 Q12714367 Q49218 Q100 Q2734845 Q6820370 Q1616042 Q643944 Q756103 Q25330 Q190847 Q2073801 Q1759693 Q2300663 Q2703030 Q794802 Q646784 Q79499 Q6275457 Q10561690 Q1735 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q2290 Q12191 Q634172 Q522362 Q1729 Q790938 Q65
(c(Q628179)|c(Q83620),P559,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
[ANSWERS] are a terminus for min number of trails and thoroughfares
[[{'concept': 'Q628179'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?z ) WHERE { VALUES ( ?t ) { ( ontology:Q628179 ) ( ontology:Q83620 ) } . ?m rdf:type ?t } GROUP BY ?r } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?o ) { ( ontology:Q628179 ) ( ontology:Q83620 ) } . ?i rdf:type ?o } GROUP BY ?k } . FILTER ( ?g = ?l ) }
Ellewoutsdijk Minehead Bronygarth Göschenen Folkestone Detroit Halle (Saale) Oijen Austrepollen Grand Tower Ingleton Middleton-by-Wirksworth Hart Salford Quays Multan Badrinath Horda, Norway Narva-Jõesuu Kalamazoo Skien Tobermory, Ontario Svartnes Jyväskylä Fjærland Ankeny Portpatrick Port Grimaud Hanam Drymen Kincardine Nordrepollen Liverpool Burgas Frafjord Cann River Mariehäll Akdere, Silifke Oslo Saint-Rhémy-en-Bosses Frutigen Cumberland Gap Fort William Herøya Cumberland San Bernardino Vaasa Jarrow Granvin Rochester Boston Henley-in-Arden Merritton, Ontario Hessle Asaluyeh Lewes Trenton Alexandroupoli Helmsley South Boston Gaylord Kilsby Otira Moffat Helena Jong, Norway Lilla Alby Innsbruck Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Porsgrunn Nantes Banihal Bad Säckingen Erfurt Aviemore Los Angeles
Los Angeles, Oslo and Nantes are a terminus for min number of trails and thoroughfares
Los Angeles Oslo Nantes
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
[[{'concept': 'trail'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?z ) WHERE { VALUES ( ?t ) { ( ontology:trail ) ( ontology:thoroughfare ) } . ?m rdf:type ?t } GROUP BY ?r } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?o ) { ( ontology:trail ) ( ontology:thoroughfare ) } . ?i rdf:type ?o } GROUP BY ?k } . FILTER ( ?g = ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15527965
P26
Q502895
USER
How many people are the spouse of Margaretha Roosenboom ?
(c(Q502895),P26,Q15527965)
action count
action filter_type
action find_reverse
entity Q15527965
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q15527965']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P26 resource:Q15527965 . ?h rdf:type ontology:Q502895 }
Margaretha Roosenboom
action count
action filter_type
action find_reverse
entity Margaretha Roosenboom
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Margaretha Roosenboom']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:spouse resource:Margaretha_Roosenboom . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q18577260
(c(Q502895),P26,Q15527965)
action count
action filter_type
action find_reverse
entity Q15527965
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q15527965']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P26 resource:Q15527965 . ?h rdf:type ontology:Q502895 }
Johannes Gijsbert Vogel
1
action count
action filter_type
action find_reverse
entity Margaretha Roosenboom
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Margaretha Roosenboom']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:spouse resource:Margaretha_Roosenboom . ?h rdf:type ontology:common_name }
[]