Simple Question (Direct)
Simple Question
Q294351
P54
Q1194951
USER
Which national sports teams are Siniša Mihajlović a member of ?
(Q294351,P54,c(Q1194951))
action filter_type
action find
entity Q294351
relation P54
type Q1194951
['Q294351', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { resource:Q294351 property:P54 ?p . ?p rdf:type ontology:Q1194951 }
Siniša Mihajlović
action filter_type
action find
entity Siniša Mihajlović
relation member of sports team
type national sports team
['Siniša Mihajlović', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { resource:Siniša_Mihajlović property:member_of_sports_team ?p . ?p rdf:type ontology:national_sports_team }
[]
national sports team
Q1131732 Q188363
SYSTEM
Serbia and Montenegro national football team, Yugoslavia national football team
Q1131732 Q188363
(Q294351,P54,c(Q1194951))
action filter_type
action find
entity Q294351
relation P54
type Q1194951
The [ANSWERS] are Siniša Mihajlović a member of
['Q294351', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { resource:Q294351 property:P54 ?p . ?p rdf:type ontology:Q1194951 }
Serbia and Montenegro national football team Yugoslavia national football team
The Serbia and Montenegro national football team and Yugoslavia national football team are Siniša Mihajlović a member of
Serbia and Montenegro national football team Yugoslavia national football team
action filter_type
action find
entity Siniša Mihajlović
relation member of sports team
type national sports team
['Siniša Mihajlović', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { resource:Siniša_Mihajlović property:member_of_sports_team ?p . ?p rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q294351
P21
Q290
USER
Which sex does that person belong to ?
(Q1131732,P21,c(Q290)) (Q188363,P21,c(Q290))
action filter_type
action find
entity Q294351
relation P21
type Q290
['Q1131732', 'P21', {'concept': 'Q290'}] ['Q188363', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q294351 property:P21 ?k . ?k rdf:type ontology:Q290 }
Siniša Mihajlović
action filter_type
action find
entity Siniša Mihajlović
relation gender
type sex
['Serbia and Montenegro national football team', 'gender', {'concept': 'sex'}] ['Yugoslavia national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Siniša_Mihajlović property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1131732,P21,c(Q290)) (Q188363,P21,c(Q290))
action filter_type
action find
entity Q294351
relation P21
type Q290
That person belongs to [ANSWER]
['Q1131732', 'P21', {'concept': 'Q290'}] ['Q188363', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q294351 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Siniša Mihajlović
relation gender
type sex
['Serbia and Montenegro national football team', 'gender', {'concept': 'sex'}] ['Yugoslavia national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Siniša_Mihajlović property:gender ?k . ?k rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1388570 Q294351
P1344
Q1375427
USER
Which European Championships did Siniša Mihajlović and Sergen Yalçın take part in ?
AND((Q294351,P1344,c(Q1375427)), (Q1388570,P1344,c(Q1375427)))
action filter_type
action intersection
action find
entity Q294351
relation P1344
action find
entity Q1388570
relation P1344
type Q1375427
{'AND': [['Q294351', 'P1344', {'concept': 'Q1375427'}], ['Q1388570', 'P1344', {'concept': 'Q1375427'}]]}
SELECT DISTINCT ?c WHERE { resource:Q294351 property:P1344 ?c . resource:Q1388570 property:P1344 ?c . ?c rdf:type ontology:Q1375427 }
Sergen Yalçın Siniša Mihajlović
action filter_type
action intersection
action find
entity Siniša Mihajlović
relation participant of
action find
entity Sergen Yalçın
relation participant of
type European Championship
{'AND': [['Siniša Mihajlović', 'participant of', {'concept': 'European Championship'}], ['Sergen Yalçın', 'participant of', {'concept': 'European Championship'}]]}
SELECT DISTINCT ?c WHERE { resource:Siniša_Mihajlović property:participant_of ?c . resource:Sergen_Yalçın property:participant_of ?c . ?c rdf:type ontology:European_Championship }
[]
European Championship
Q131239
SYSTEM
UEFA Euro 2000
Q131239
AND((Q294351,P1344,c(Q1375427)), (Q1388570,P1344,c(Q1375427)))
action filter_type
action intersection
action find
entity Q294351
relation P1344
action find
entity Q1388570
relation P1344
type Q1375427
Siniša Mihajlović and Sergen Yalçın took in part in [ANSWER]
{'AND': [['Q294351', 'P1344', {'concept': 'Q1375427'}], ['Q1388570', 'P1344', {'concept': 'Q1375427'}]]}
SELECT DISTINCT ?c WHERE { resource:Q294351 property:P1344 ?c . resource:Q1388570 property:P1344 ?c . ?c rdf:type ontology:Q1375427 }
UEFA Euro 2000
Siniša Mihajlović and Sergen Yalçın took in part in UEFA Euro 2000
UEFA Euro 2000
action filter_type
action intersection
action find
entity Siniša Mihajlović
relation participant of
action find
entity Sergen Yalçın
relation participant of
type European Championship
{'AND': [['Siniša Mihajlović', 'participant of', {'concept': 'European Championship'}], ['Sergen Yalçın', 'participant of', {'concept': 'European Championship'}]]}
SELECT DISTINCT ?c WHERE { resource:Siniša_Mihajlović property:participant_of ?c . resource:Sergen_Yalçın property:participant_of ?c . ?c rdf:type ontology:European_Championship }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atmost 7970 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7970
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?t <= 7970 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7970
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?t <= 7970 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7970
Atmost 7970 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?t <= 7970 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Atmost 7970 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7970
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?t <= 7970 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams took part in max number of sport competitions or recurring events ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action argmax
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?j ) { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?o rdf:type ?h } GROUP BY ?q } } . FILTER ( ?u = ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?c rdf:type ?x } GROUP BY ?d } }
action argmax
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?j ) { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?o rdf:type ?h } GROUP BY ?q } } . FILTER ( ?u = ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?c rdf:type ?x } GROUP BY ?d } }
[]
national sports team sport competition recurring event
Q43310
SYSTEM
Germany national football team
Q43310
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action argmax
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
[ANSWER] took part in max number of sport competitions or recurring events
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?j ) { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?o rdf:type ?h } GROUP BY ?q } } . FILTER ( ?u = ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?c rdf:type ?x } GROUP BY ?d } }
Germany national football team
Germany national football team took part in max number of sport competitions or recurring events
Germany national football team
action argmax
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?j ) { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?o rdf:type ?h } GROUP BY ?q } } . FILTER ( ?u = ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?c rdf:type ?x } GROUP BY ?d } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43310
P17
Q1048835
USER
Which political territory does that national sports team belong to ?
(Q43310,P17,c(Q1048835))
action filter_type
action find
entity Q43310
relation P17
type Q1048835
['Q43310', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q43310 property:P17 ?v . ?v rdf:type ontology:Q1048835 }
Germany national football team
action filter_type
action find
entity Germany national football team
relation country
type political territorial entity
['Germany national football team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Germany_national_football_team property:country ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q43310,P17,c(Q1048835))
action filter_type
action find
entity Q43310
relation P17
type Q1048835
That national sports team belongs to Nazi [ANSWER]
['Q43310', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q43310 property:P17 ?v . ?v rdf:type ontology:Q1048835 }
Germany
That national sports team belongs to Nazi Germany
Germany
action filter_type
action find
entity Germany national football team
relation country
type political territorial entity
['Germany national football team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Germany_national_football_team property:country ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q29999 Q183
P27
Q502895
USER
Which people are a native of Germany and Kingdom of the Netherlands ?
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q29999))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q29999
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q29999']]}
SELECT DISTINCT ?k WHERE { ?k property:P27 resource:Q183 . ?k property:P27 resource:Q29999 . ?k rdf:type ontology:Q502895 }
Kingdom of the Netherlands Germany
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Kingdom of the Netherlands']]}
SELECT DISTINCT ?k WHERE { ?k property:country_of_citizenship resource:Germany . ?k property:country_of_citizenship resource:Kingdom_of_the_Netherlands . ?k rdf:type ontology:common_name }
[]
common name
Q112883 Q19884159 Q73160 Q553606 Q27074653 Q25712442 Q1363677 Q96009 Q106433 Q72241
SYSTEM
Some of them are Edith Bülbring, Frans Hermesdorf, Hermann Otto Sleumer, Mitja Zastrow, Klaus Oppenheimer, Sönke Rothenberger, Ery Bos, Sven Rothenberger, Riekele Borger, Christian Kum
Q1467311 Q92201 Q105457 Q71451 Q99231 Q690043 Q96009 Q1363677 Q75306 Q104107 Q63037 Q1992776 Q97046 Q104369 Q1612549 Q77983 Q112883 Q2392331 Q77506 Q98657 Q2645598 Q2589650 Q99217 Q57304 Q119644 Q104580 Q20734171 Q1840401 Q553606 Q91118 Q832039 Q68582 Q90059 Q2285018 Q1818635 Q18705704 Q108514 Q316166 Q23001580 Q325806 Q763343 Q18508162 Q106433 Q73160 Q67425 Q76703 Q110272 Q2390370 Q27074653 Q69984 Q78318 Q61606 Q76661 Q89260 Q1133341 Q23666213 Q7339 Q14943723 Q7337 Q7336 Q102159 Q106580 Q62352 Q21128842 Q97977 Q72241 Q1603744 Q1717261 Q955674 Q19884159 Q1850306 Q1251338 Q76750 Q69185 Q159609 Q57664 Q78112 Q4256516 Q109642 Q25712442 Q4583
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q29999))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q29999
relation P27
type Q502895
[ANSWERS] are a native of Germany and Kingdom of the Netherlands
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q29999']]}
SELECT DISTINCT ?k WHERE { ?k property:P27 resource:Q183 . ?k property:P27 resource:Q29999 . ?k rdf:type ontology:Q502895 }
Fritz Levisohn Fritz Mannheimer Johannes Andreas Jolles Franke Sloothaak Stefan Radt Tobias Levels Sven Rothenberger Ery Bos Walter Süskind Jan Bender Klaas Carel Faber Nina Gorter Herbertus Bikker Ernst Laqueur Hermann Salmang Hans Keilson Edith Bülbring Georg Lambert Hans Freudenthal Werner Janssen Alfred Nourney Wolfgang Frommel Friedl Baruch Prince Bernhard of the Netherlands Ilse Meudtner Eduard Fimmen Wilhelm Knolle Alfred Herrmann Kleinknecht Mitja Zastrow Carl Heinrich Stratz Dirk Matschenz Ilse Werner Oswalt Kolle Sigmund Seeligmann Max Moszkowicz Erna Westhelle Menachem Pinkhof Arie van Lent Joanna Wichmann Dirk van der Ven August Paul Brenninkmeijer Ferdinand Bernhard Höppe Riekele Borger Hermann Otto Sleumer James Kwast Anthony Fokker Johannes Franziskus Klomp Talja Blokland Klaus Oppenheimer Peter van Pels Hajo Meyer Laura Dekker Heinrich Boere Franz Koenigs Cornelia Harte Martha van Ophemert-Schwenke Margot Frank Kees de Vries Edith Frank Otto Frank Kurt Vyth C. E. A. Wichmann Johannes Heesters Johan Herman Kloos Kurt Baschwitz Christian Kum Horst Gerson Jürgen Heinrichs Hans Reicher Frans Hermesdorf Herbert Fiedler Eva van Hoboken Gustav Heinrich Ralph von Koenigswald Gerard Kleisterlee Prince Claus of the Netherlands Emma of Waldeck and Pyrmont Britta Böhler Auguste van Pels Sarah Kim Gries Sönke Rothenberger Anne Frank
Edith Bülbring, Frans Hermesdorf, Hermann Otto Sleumer, Mitja Zastrow, Klaus Oppenheimer, Sönke Rothenberger, Ery Bos, Sven Rothenberger, Riekele Borger and Christian Kum are a native of Germany and Kingdom of the Netherlands
Edith Bülbring Frans Hermesdorf Hermann Otto Sleumer Mitja Zastrow Klaus Oppenheimer Sönke Rothenberger Ery Bos Sven Rothenberger Riekele Borger Christian Kum
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Kingdom of the Netherlands']]}
SELECT DISTINCT ?k WHERE { ?k property:country_of_citizenship resource:Germany . ?k property:country_of_citizenship resource:Kingdom_of_the_Netherlands . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q112883 Q19884159 Q73160 Q553606 Q27074653 Q25712442 Q1363677 Q96009 Q106433 Q72241
P27
Q15617994
USER
Which administrative territories are Edith Bülbring, Frans Hermesdorf, Hermann Otto Sleumer, Mitja Zastrow, Klaus Oppenheimer, Sönke Rothenberger, Ery Bos, Sven Rothenberger, Riekele Borger and Christian Kum an inhabitant of ?
(Q112883,P27,c(Q15617994)) (Q19884159,P27,c(Q15617994)) (Q73160,P27,c(Q15617994)) (Q553606,P27,c(Q15617994)) (Q27074653,P27,c(Q15617994)) (Q25712442,P27,c(Q15617994)) (Q1363677,P27,c(Q15617994)) (Q96009,P27,c(Q15617994)) (Q106433,P27,c(Q15617994)) (Q72241,P27,c(Q15617994))
action union
action filter_type
action find
entity Q112883
relation P27
type Q15617994
action filter_type
action find
entity Q19884159
relation P27
type Q15617994
action filter_type
action find
entity Q73160
relation P27
type Q15617994
action filter_type
action find
entity Q553606
relation P27
type Q15617994
action filter_type
action find
entity Q27074653
relation P27
type Q15617994
action filter_type
action find
entity Q25712442
relation P27
type Q15617994
action filter_type
action find
entity Q1363677
relation P27
type Q15617994
action filter_type
action find
entity Q96009
relation P27
type Q15617994
action filter_type
action find
entity Q106433
relation P27
type Q15617994
action filter_type
action find
entity Q72241
relation P27
type Q15617994
['Q112883', 'P27', {'concept': 'Q15617994'}] ['Q19884159', 'P27', {'concept': 'Q15617994'}] ['Q73160', 'P27', {'concept': 'Q15617994'}] ['Q553606', 'P27', {'concept': 'Q15617994'}] ['Q27074653', 'P27', {'concept': 'Q15617994'}] ['Q25712442', 'P27', {'concept': 'Q15617994'}] ['Q1363677', 'P27', {'concept': 'Q15617994'}] ['Q96009', 'P27', {'concept': 'Q15617994'}] ['Q106433', 'P27', {'concept': 'Q15617994'}] ['Q72241', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?g ) { ( resource:Q112883 ) ( resource:Q19884159 ) } . ?g property:P27 ?t }
Edith Bülbring Frans Hermesdorf Hermann Otto Sleumer Mitja Zastrow Klaus Oppenheimer Sönke Rothenberger Ery Bos Sven Rothenberger Riekele Borger Christian Kum
action union
action filter_type
action find
entity Edith Bülbring
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Frans Hermesdorf
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Hermann Otto Sleumer
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Mitja Zastrow
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Klaus Oppenheimer
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Sönke Rothenberger
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Ery Bos
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Sven Rothenberger
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Riekele Borger
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Christian Kum
relation country of citizenship
type designation for an administrative territorial entity
['Edith Bülbring', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Frans Hermesdorf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Hermann Otto Sleumer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mitja Zastrow', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Klaus Oppenheimer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sönke Rothenberger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ery Bos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sven Rothenberger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Riekele Borger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Christian Kum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?g ) { ( resource:Edith_Bülbring ) ( resource:Frans_Hermesdorf ) } . ?g property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q29999 Q29999 Q29999
SYSTEM
Kingdom of the Netherlands
Q29999 Q29999 Q29999 Q29999 Q29999 Q29999 Q29999 Q29999 Q29999 Q29999
(Q112883,P27,c(Q15617994)) (Q19884159,P27,c(Q15617994)) (Q73160,P27,c(Q15617994)) (Q553606,P27,c(Q15617994)) (Q27074653,P27,c(Q15617994)) (Q25712442,P27,c(Q15617994)) (Q1363677,P27,c(Q15617994)) (Q96009,P27,c(Q15617994)) (Q106433,P27,c(Q15617994)) (Q72241,P27,c(Q15617994))
action union
action filter_type
action find
entity Q112883
relation P27
type Q15617994
action filter_type
action find
entity Q19884159
relation P27
type Q15617994
action filter_type
action find
entity Q73160
relation P27
type Q15617994
action filter_type
action find
entity Q553606
relation P27
type Q15617994
action filter_type
action find
entity Q27074653
relation P27
type Q15617994
action filter_type
action find
entity Q25712442
relation P27
type Q15617994
action filter_type
action find
entity Q1363677
relation P27
type Q15617994
action filter_type
action find
entity Q96009
relation P27
type Q15617994
action filter_type
action find
entity Q106433
relation P27
type Q15617994
action filter_type
action find
entity Q72241
relation P27
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Edith Bülbring, Frans Hermesdorf, Hermann Otto Sleumer, Mitja Zastrow, Klaus Oppenheimer, Sönke Rothenberger, Ery Bos, Sven Rothenberger, Riekele Borger and Christian Kum an inhabitant of
['Q112883', 'P27', {'concept': 'Q15617994'}] ['Q19884159', 'P27', {'concept': 'Q15617994'}] ['Q73160', 'P27', {'concept': 'Q15617994'}] ['Q553606', 'P27', {'concept': 'Q15617994'}] ['Q27074653', 'P27', {'concept': 'Q15617994'}] ['Q25712442', 'P27', {'concept': 'Q15617994'}] ['Q1363677', 'P27', {'concept': 'Q15617994'}] ['Q96009', 'P27', {'concept': 'Q15617994'}] ['Q106433', 'P27', {'concept': 'Q15617994'}] ['Q72241', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?g ) { ( resource:Q112883 ) ( resource:Q19884159 ) } . ?g property:P27 ?t }
Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands
Kingdom of the Netherlands, Kingdom of the Netherlands and Kingdom of the Netherlands are Edith Bülbring, Frans Hermesdorf, Hermann Otto Sleumer, Mitja Zastrow, Klaus Oppenheimer, Sönke Rothenberger, Ery Bos, Sven Rothenberger, Riekele Borger and Christian Kum an inhabitant of
Kingdom of the Netherlands Kingdom of the Netherlands Kingdom of the Netherlands
action union
action filter_type
action find
entity Edith Bülbring
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Frans Hermesdorf
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Hermann Otto Sleumer
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Mitja Zastrow
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Klaus Oppenheimer
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Sönke Rothenberger
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Ery Bos
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Sven Rothenberger
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Riekele Borger
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Christian Kum
relation country of citizenship
type designation for an administrative territorial entity
['Edith Bülbring', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Frans Hermesdorf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Hermann Otto Sleumer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mitja Zastrow', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Klaus Oppenheimer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sönke Rothenberger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ery Bos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sven Rothenberger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Riekele Borger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Christian Kum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?g ) { ( resource:Edith_Bülbring ) ( resource:Frans_Hermesdorf ) } . ?g property:country_of_citizenship ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P6
Q502895
USER
Who is the head of the government of Kingdom of the Netherlands ?
(Q29999,P6,c(Q502895))
action filter_type
action find
entity Q29999
relation P6
type Q502895
['Q29999', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q29999 property:P6 ?j }
Kingdom of the Netherlands
action filter_type
action find
entity Kingdom of the Netherlands
relation head of government
type common name
['Kingdom of the Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Kingdom_of_the_Netherlands property:head_of_government ?j }
[]
common name
Q57792
SYSTEM
Mark Rutte
Q57792
(Q29999,P6,c(Q502895))
action filter_type
action find
entity Q29999
relation P6
type Q502895
The head of the government of Kingdom of the Netherlands is the [ANSWER]
['Q29999', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q29999 property:P6 ?j }
Mark Rutte
The head of the government of Kingdom of the Netherlands is the Mark Rutte
Mark Rutte
action filter_type
action find
entity Kingdom of the Netherlands
relation head of government
type common name
['Kingdom of the Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Kingdom_of_the_Netherlands property:head_of_government ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2874
Q502895
USER
And what about Urban Community of Lyon?
(Q2874,P6,c(Q502895))
action filter_type
action find
entity Q2874
relation P6
type Q502895
['Q2874', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2874 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Urban Community of Lyon
action filter_type
action find
entity Urban Community of Lyon
relation head of government
type common name
['Urban Community of Lyon', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Urban_Community_of_Lyon property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q12956 Q12957
SYSTEM
Gérard Collomb, Raymond Barre
Q12956 Q12957
(Q2874,P6,c(Q502895))
action filter_type
action find
entity Q2874
relation P6
type Q502895
[ANSWERS]
['Q2874', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2874 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Gérard Collomb Raymond Barre
Gérard Collomb Raymond Barre
action filter_type
action find
entity Urban Community of Lyon
relation head of government
type common name
['Urban Community of Lyon', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Urban_Community_of_Lyon property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]