Simple Question (Direct)
Simple Question
Q2531458
P106
Q151885
USER
What is the job of Volckmar Daniel Spoerl ?
(Q2531458,P106,c(Q151885))
action filter_type
action find
entity Q2531458
relation P106
type Q151885
['Q2531458', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q2531458 property:P106 ?n . ?n rdf:type ontology:Q151885 }
Volckmar Daniel Spoerl
action filter_type
action find
entity Volckmar Daniel Spoerl
relation occupation
type concept
['Volckmar Daniel Spoerl', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Volckmar_Daniel_Spoerl property:occupation ?n . ?n rdf:type ontology:concept }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q2531458,P106,c(Q151885))
action filter_type
action find
entity Q2531458
relation P106
type Q151885
The job of Volckmar Daniel Spoerl is the [ANSWER]
['Q2531458', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q2531458 property:P106 ?n . ?n rdf:type ontology:Q151885 }
author
The job of Volckmar Daniel Spoerl is the author
author
action filter_type
action find
entity Volckmar Daniel Spoerl
relation occupation
type concept
['Volckmar Daniel Spoerl', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Volckmar_Daniel_Spoerl property:occupation ?n . ?n rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2531458
P21
Q290
USER
Which sex does Volckmar Daniel Spoerl belong to ?
(Q2531458,P21,c(Q290))
action filter_type
action find
entity Q2531458
relation P21
type Q290
['Q2531458', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q2531458 property:P21 ?l . ?l rdf:type ontology:Q290 }
Volckmar Daniel Spoerl
action filter_type
action find
entity Volckmar Daniel Spoerl
relation gender
type sex
['Volckmar Daniel Spoerl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Volckmar_Daniel_Spoerl property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2531458,P21,c(Q290))
action filter_type
action find
entity Q2531458
relation P21
type Q290
Volckmar Daniel Spoerl belongs to [ANSWER]
['Q2531458', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q2531458 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Volckmar Daniel Spoerl belongs to male
male
action filter_type
action find
entity Volckmar Daniel Spoerl
relation gender
type sex
['Volckmar Daniel Spoerl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Volckmar_Daniel_Spoerl property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3157393
Q290
USER
And also tell me about Jackie Cook?
(Q3157393,P21,c(Q290))
action filter_type
action find
entity Q3157393
relation P21
type Q290
['Q3157393', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q3157393 property:P21 ?j }
Jackie Cook
action filter_type
action find
entity Jackie Cook
relation gender
type sex
['Jackie Cook', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Jackie_Cook property:gender ?j }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3157393,P21,c(Q290))
action filter_type
action find
entity Q3157393
relation P21
type Q290
[ANSWER]
['Q3157393', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q3157393 property:P21 ?j }
female
female
action filter_type
action find
entity Jackie Cook
relation gender
type sex
['Jackie Cook', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Jackie_Cook property:gender ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2531458
P19
Q56061
USER
Which administrative territory was Volckmar Daniel Spoerl born in ?
(Q2531458,P19,c(Q56061))
action filter_type
action find
entity Q2531458
relation P19
type Q56061
['Q2531458', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2531458 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Volckmar Daniel Spoerl
action filter_type
action find
entity Volckmar Daniel Spoerl
relation place of birth
type administrative territorial entity
['Volckmar Daniel Spoerl', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Volckmar_Daniel_Spoerl property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2090
SYSTEM
Nuremberg
Q2090
(Q2531458,P19,c(Q56061))
action filter_type
action find
entity Q2531458
relation P19
type Q56061
Volckmar Daniel Spoerl was born in [ANSWER]
['Q2531458', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2531458 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Nuremberg
Volckmar Daniel Spoerl was born in Nuremberg
Nuremberg
action filter_type
action find
entity Volckmar Daniel Spoerl
relation place of birth
type administrative territorial entity
['Volckmar Daniel Spoerl', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Volckmar_Daniel_Spoerl property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2090
P47
Q515
USER
Which cities share border with that administrative territory ?
(Q2090,P47,c(Q515))
action filter_type
action find
entity Q2090
relation P47
type Q515
['Q2090', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q2090 property:P47 ?u }
Nuremberg
action filter_type
action find
entity Nuremberg
relation shares border with
type city
['Nuremberg', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:Nuremberg property:shares_border_with ?u }
[]
city
Q3126 Q3075
SYSTEM
Erlangen, Fürth
Q3126 Q3075
(Q2090,P47,c(Q515))
action filter_type
action find
entity Q2090
relation P47
type Q515
[ANSWERS] share border with that administrative territory
['Q2090', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q2090 property:P47 ?u }
Erlangen Fürth
Erlangen and Fürth share border with that administrative territory
Erlangen Fürth
action filter_type
action find
entity Nuremberg
relation shares border with
type city
['Nuremberg', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:Nuremberg property:shares_border_with ?u }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
Which cities are sister town of exactly 8 cities ?
(c(Q515),P190,c(Q515))
action equal
action find_tuple_counts
relation P190
type Q515
type Q515
value 8
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?e = 8 ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?e ) WHERE { ?q rdf:type ontology:Q515 . ?i rdf:type ontology:Q515 . ?q property:P190 ?i } GROUP BY ?q } }
action equal
action find_tuple_counts
relation sister city
type city
type city
value 8
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?e = 8 ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?e ) WHERE { ?q rdf:type ontology:city . ?i rdf:type ontology:city . ?q property:sister_city ?i } GROUP BY ?q } }
[]
city city
Q1899 Q1461 Q3616
SYSTEM
Kyiv, Manila, Tehran
Q1899 Q1461 Q2207 Q3616
(c(Q515),P190,c(Q515))
action equal
action find_tuple_counts
relation P190
type Q515
type Q515
value 8
[ANSWERS] are sister town of exactly 8 cities
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?e = 8 ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?e ) WHERE { ?q rdf:type ontology:Q515 . ?i rdf:type ontology:Q515 . ?q property:P190 ?i } GROUP BY ?q } }
Kyiv Manila Naga Tehran
Kyiv, Manila and Tehran are sister town of exactly 8 cities
Kyiv Manila Tehran
action equal
action find_tuple_counts
relation sister city
type city
type city
value 8
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?e = 8 ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?e ) WHERE { ?q rdf:type ontology:city . ?i rdf:type ontology:city . ?q property:sister_city ?i } GROUP BY ?q } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q515
USER
How many cities are twin towns of that city ?
(Q1461,P190,c(Q515))
['Q1461', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q129960 property:P190 ?z . ?z rdf:type ontology:Q7930989 }
['Manila', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Manila property:sister_city ?z . ?z rdf:type ontology:city }
[]
city
Quantitative|Count|Single entity type|Clarification
Q3616
SYSTEM
Did you mean Tehran ?
(Q1899,P190,c(Q515)) (Q1461,P190,c(Q515)) (Q3616,P190,c(Q515))
[ANSWER]
['Q1899', 'P190', {'concept': 'Q515'}] ['Q1461', 'P190', {'concept': 'Q515'}] ['Q3616', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q129960 property:P190 ?z . ?z rdf:type ontology:Q7930989 }
Did you mean Tehran ?
Tehran
['Kyiv', 'sister city', {'concept': 'city'}] ['Manila', 'sister city', {'concept': 'city'}] ['Tehran', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Manila property:sister_city ?z . ?z rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Manila. Could you tell me the answer for that?
(Q1461,P190,c(Q515))
Q1461
['Q1461', 'P190', {'concept': 'Q515'}]
['Manila', 'sister city', {'concept': 'city'}]
[]
SYSTEM
8
Q20934 Q456 Q16520 Q19660 Q3616 Q1854 Q2135 Q2887
(Q1461,P190,c(Q515))
[ANSWER]
['Q1461', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q129960 property:P190 ?z . ?z rdf:type ontology:Q7930989 }
Incheon Lyon Busan Bucharest Tehran Ho Chi Minh City Winnipeg Santiago
8
['Manila', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Manila property:sister_city ?z . ?z rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q107425 Q271669 Q151885
USER
How many concepts are located in atmost 1 landscapes or landforms ?
(c(Q151885),P706,c(Q107425)|c(Q271669))
action count
action atmost
action union
action find_tuple_counts
relation P706
type Q151885
type Q107425
action find_tuple_counts
relation P706
type Q151885
type Q271669
value 1
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q107425'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?w ) WHERE { VALUES ( ?o ) { ( ontology:Q107425 ) ( ontology:Q271669 ) } . ?x rdf:type ?o } GROUP BY ?n } . FILTER ( ?w <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation located on terrain feature
type concept
type landscape
action find_tuple_counts
relation located on terrain feature
type concept
type landform
value 1
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'landscape'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?w ) WHERE { VALUES ( ?o ) { ( ontology:landscape ) ( ontology:landform ) } . ?x rdf:type ?o } GROUP BY ?n } . FILTER ( ?w <= 1 ) }
[]
landscape landform concept
SYSTEM
111
Q1585136 Q16389397 Q402743 Q80974 Q1121344 Q645489 Q314639 Q13409799 Q2332687 Q2560070 Q1298414 Q575396 Q2064825 Q647858 Q2460861 Q2379716 Q893119 Q831336 Q1483547 Q1049966 Q1887797 Q2005344 Q1807594 Q1987770 Q1037978 Q687230 Q693549 Q245156 Q1737460 Q756905 Q1263312 Q279792 Q2245864 Q1075080 Q2603061 Q2632835 Q855546 Q2619651 Q3007186 Q2624476 Q773818 Q1588784 Q1017984 Q570798 Q500099 Q169349 Q1859432 Q175801 Q1932196 Q127455 Q2098731 Q1090851 Q672010 Q127118 Q1051663 Q1470903 Q2994546 Q3485378 Q671984 Q1886212 Q2640569 Q427986 Q202165 Q134178 Q1473758 Q2216194 Q875115 Q1088939 Q1808482 Q2252048 Q1241230 Q1362485 Q1054850 Q459376 Q1423912 Q1421436 Q1002169 Q372349 Q2625916 Q1041674 Q1229136 Q2370603 Q2666408 Q3651998 Q2015677 Q1688286 Q1474345 Q1509262 Q1139760 Q1241067 Q22906080 Q2372667 Q208247 Q2995537 Q1781546 Q746287 Q221901 Q2446445 Q1755265 Q470867 Q2556093 Q2347305 Q169320 Q1577518 Q733489 Q4096641 Q2636498 Q1369777 Q399951 Q611017 Q806348
(c(Q151885),P706,c(Q107425)|c(Q271669))
action count
action atmost
action union
action find_tuple_counts
relation P706
type Q151885
type Q107425
action find_tuple_counts
relation P706
type Q151885
type Q271669
value 1
[ANSWER]
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q107425'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?w ) WHERE { VALUES ( ?o ) { ( ontology:Q107425 ) ( ontology:Q271669 ) } . ?x rdf:type ?o } GROUP BY ?n } . FILTER ( ?w <= 1 ) }
Monte Claro culture Kepler-186f Ahrensburg culture Afanasevo culture Solutrean Baradostian culture Baalberge group Argaric culture Piliny culture Magosian Egolzwil Culture Cernavodă culture Pavlovian culture Zarzian culture Lima culture Sögel-Wohlde culture Boat Axe culture Vinča culture Starčevo culture Castro culture Mal'ta-Buret' culture Tagar culture Luco-Meluno culture Saltovo-Mayaki Gushi culture Baden culture Magdalenian Ubaid period Kayue culture Gravettian Tiszapolgár culture Botai culture Schmarloh Upper Xiajiadian culture Coțofeni culture Okunev Culture Bükk culture Asbestos-ceramic Arzachena culture Marajoara culture Unetice culture Hassuna culture Butmir culture Michelsberg culture Jastorf culture Kura–Araxes culture Varna culture Sican culture Stroke-ornamented ware culture Ordos culture Slab Grave Culture Châtelperronian Horgen culture Vorholz Erlitou culture Iberomaurusian Penkovka culture Clovis culture Cortaillod culture Rössen culture Aldy-Bel culture Gaudo culture Hallstatt culture Minoan civilization Ozieri culture Salzmünde group Funnelbeaker culture Kebaran Tardenoisian Schussenried culture Donets Ridge Ertebølle culture Bactria–Margiana Archaeological Complex Andronovo culture Przeworsk culture Nuragic civilization Bug-Dniester culture Gáva culture Gandhara grave culture Lower Xiajiadian culture Grooved ware Boian culture Asturian culture South-German Urnfield culture Zarubintsy culture Esik Bes-Shatir Culture Chernyakhov culture Hamangia culture Creswellian culture Old Europe K2-3d Swiderian culture La Tène culture Soanian Kongemose culture Oldowan Aurignacian Milograd culture Kulli culture Beaker culture Gumelniţa–Karanovo culture Polada culture Trialeti culture Komsa culture Natufian culture Brnjica culture Chernoles culture Este culture Ahar-Banas culture Lusatian culture Linear Pottery culture
111
action count
action atmost
action union
action find_tuple_counts
relation located on terrain feature
type concept
type landscape
action find_tuple_counts
relation located on terrain feature
type concept
type landform
value 1
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'landscape'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?w ) WHERE { VALUES ( ?o ) { ( ontology:landscape ) ( ontology:landform ) } . ?x rdf:type ?o } GROUP BY ?n } . FILTER ( ?w <= 1 ) }
[]