Simple Question (Direct)
Simple Question
Q3124395
P21
Q290
USER
What is the sex of Gérard de Berny ?
(Q3124395,P21,c(Q290))
action filter_type
action find
entity Q3124395
relation P21
type Q290
['Q3124395', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3124395 property:P21 ?t . ?t rdf:type ontology:Q290 }
Gérard de Berny
action filter_type
action find
entity Gérard de Berny
relation gender
type sex
['Gérard de Berny', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Gérard_de_Berny property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3124395,P21,c(Q290))
action filter_type
action find
entity Q3124395
relation P21
type Q290
The sex of Gérard de Berny is the [ANSWER]
['Q3124395', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3124395 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Gérard de Berny is the male
male
action filter_type
action find
entity Gérard de Berny
relation gender
type sex
['Gérard de Berny', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Gérard_de_Berny property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who was a student at that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?d WHERE { ?d property:P69 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?d WHERE { ?d property:educated_at resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] was a student at that sex
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?d WHERE { ?d property:P69 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Aaron Parchem
Aaron Parchem was a student at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?d WHERE { ?d property:educated_at resource:male . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 3335 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3335
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?v <= 3335 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3335
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?v <= 3335 ) }
[]
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 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 3335
[ANSWERS] are played by atmost 3335 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?v <= 3335 ) }
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 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
Davul, harpsichord and Wurlitzer electric piano are played by atmost 3335 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3335
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?v <= 3335 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4662307
P1344
Q15900616
USER
What did Aaron Parchem participate in ?
(Q4662307,P1344,c(Q15900616))
action filter_type
action find
entity Q4662307
relation P1344
type Q15900616
['Q4662307', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?v WHERE { resource:Q4662307 property:P1344 ?v . ?v rdf:type ontology:Q15900616 }
Aaron Parchem
action filter_type
action find
entity Aaron Parchem
relation participant of
type event sequence
['Aaron Parchem', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?v WHERE { resource:Aaron_Parchem property:participant_of ?v . ?v rdf:type ontology:event_sequence }
[]
event sequence
Q9672
SYSTEM
2006 Winter Olympics
Q9672
(Q4662307,P1344,c(Q15900616))
action filter_type
action find
entity Q4662307
relation P1344
type Q15900616
Aaron Parchem participated in [ANSWER]
['Q4662307', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?v WHERE { resource:Q4662307 property:P1344 ?v . ?v rdf:type ontology:Q15900616 }
2006 Winter Olympics
Aaron Parchem participated in 2006 Winter Olympics
2006 Winter Olympics
action filter_type
action find
entity Aaron Parchem
relation participant of
type event sequence
['Aaron Parchem', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?v WHERE { resource:Aaron_Parchem property:participant_of ?v . ?v rdf:type ontology:event_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1008973
Q15900616
USER
And also tell me about Mihály Gellér?
(Q1008973,P1344,c(Q15900616))
action filter_type
action find
entity Q1008973
relation P1344
type Q15900616
['Q1008973', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15900616 . resource:Q1008973 property:P1344 ?p }
Mihály Gellér
action filter_type
action find
entity Mihály Gellér
relation participant of
type event sequence
['Mihály Gellér', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:event_sequence . resource:Mihály_Gellér property:participant_of ?p }
[]
event sequence
Q9642
SYSTEM
1968 Winter Olympics
Q9642
(Q1008973,P1344,c(Q15900616))
action filter_type
action find
entity Q1008973
relation P1344
type Q15900616
[ANSWER]
['Q1008973', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15900616 . resource:Q1008973 property:P1344 ?p }
1968 Winter Olympics
1968 Winter Olympics
action filter_type
action find
entity Mihály Gellér
relation participant of
type event sequence
['Mihály Gellér', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:event_sequence . resource:Mihály_Gellér property:participant_of ?p }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q999551 Q3124395
P19 P1383
Q56061
USER
Which administrative territories are the birthplace of Gérard de Berny or are contained in Sălașu de Sus ?
OR((Q3124395,P19,c(Q56061)), (Q999551,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q3124395
relation P19
action find
entity Q999551
relation P1383
type Q56061
{'OR': [['Q3124395', 'P19', {'concept': 'Q56061'}], ['Q999551', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3124395 property:P19 ?q } UNION { resource:Q999551 property:P1383 ?q } } . ?q rdf:type ontology:Q56061 }
Sălașu de Sus Gérard de Berny
action filter_type
action union
action find
entity Gérard de Berny
relation place of birth
action find
entity Sălașu de Sus
relation contains settlement
type administrative territorial entity
{'OR': [['Gérard de Berny', 'place of birth', {'concept': 'administrative territorial entity'}], ['Sălașu de Sus', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Gérard_de_Berny property:place_of_birth ?q } UNION { resource:Sălașu_de_Sus property:contains_settlement ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3893471 Q3082951 Q3082946 Q41604 Q3067212 Q568345 Q2622501 Q5062395 Q1069542 Q3013432
SYSTEM
Some of them are Râu Mic, Râu Alb, Paroș, Amiens, Coroiești, Ohaba de sub Piatră, Peștera, Sălașu de Sus, Nucșoara, Zăvoi
Q3013432 Q41604 Q5062395 Q3067212 Q2622501 Q1069542 Q3082951 Q3893471 Q568345 Q3082940 Q3082946 Q747250
OR((Q3124395,P19,c(Q56061)), (Q999551,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q3124395
relation P19
action find
entity Q999551
relation P1383
type Q56061
[ANSWERS] are the birthplace of Gérard de Berny or are contained in Sălașu de Sus
{'OR': [['Q3124395', 'P19', {'concept': 'Q56061'}], ['Q999551', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3124395 property:P19 ?q } UNION { resource:Q999551 property:P1383 ?q } } . ?q rdf:type ontology:Q56061 }
Zăvoi Amiens Sălașu de Sus Coroiești Peștera Nucșoara Râu Alb Râu Mic Ohaba de sub Piatră Sălașu de Jos Paroș Mălăiești
Râu Mic, Râu Alb, Paroș, Amiens, Coroiești, Ohaba de sub Piatră, Peștera, Sălașu de Sus, Nucșoara and Zăvoi are the birthplace of Gérard de Berny or are contained in Sălașu de Sus
Râu Mic Râu Alb Paroș Amiens Coroiești Ohaba de sub Piatră Peștera Sălașu de Sus Nucșoara Zăvoi
action filter_type
action union
action find
entity Gérard de Berny
relation place of birth
action find
entity Sălașu de Sus
relation contains settlement
type administrative territorial entity
{'OR': [['Gérard de Berny', 'place of birth', {'concept': 'administrative territorial entity'}], ['Sălașu de Sus', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Gérard_de_Berny property:place_of_birth ?q } UNION { resource:Sălașu_de_Sus property:contains_settlement ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q999551
P1383
Q56061
USER
How many administrative territories are contained in Sălașu de Sus ?
(Q999551,P1383,c(Q56061))
action count
action filter_type
action find
entity Q999551
relation P1383
type Q56061
['Q999551', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q999551 property:P1383 ?k . ?k rdf:type ontology:Q56061 }
Sălașu de Sus
action count
action filter_type
action find
entity Sălașu de Sus
relation contains settlement
type administrative territorial entity
['Sălașu de Sus', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Sălașu_de_Sus property:contains_settlement ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
11
Q3013432 Q3067212 Q5062395 Q2622501 Q1069542 Q3082951 Q3893471 Q568345 Q3082940 Q3082946 Q747250
(Q999551,P1383,c(Q56061))
action count
action filter_type
action find
entity Q999551
relation P1383
type Q56061
[ANSWER]
['Q999551', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q999551 property:P1383 ?k . ?k rdf:type ontology:Q56061 }
Zăvoi Coroiești Sălașu de Sus Peștera Nucșoara Râu Alb Râu Mic Ohaba de sub Piatră Sălașu de Jos Paroș Mălăiești
11
action count
action filter_type
action find
entity Sălașu de Sus
relation contains settlement
type administrative territorial entity
['Sălașu de Sus', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Sălașu_de_Sus property:contains_settlement ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5110221
P1383
Q56061
USER
And how about Saligny?
(Q5110221,P1383,c(Q56061))
action count
action filter_type
action find
entity Q5110221
relation P1383
type Q56061
['Q5110221', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Q5110221 property:P1383 ?m . ?m rdf:type ontology:Q56061 }
Saligny
action count
action filter_type
action find
entity Saligny
relation contains settlement
type administrative territorial entity
['Saligny', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Saligny property:contains_settlement ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q12165539 Q1091949 Q12172377
(Q5110221,P1383,c(Q56061))
action count
action filter_type
action find
entity Q5110221
relation P1383
type Q56061
[ANSWER]
['Q5110221', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Q5110221 property:P1383 ?m . ?m rdf:type ontology:Q56061 }
Făclia Saligny Ștefan cel Mare
3
action count
action filter_type
action find
entity Saligny
relation contains settlement
type administrative territorial entity
['Saligny', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Saligny property:contains_settlement ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5066924
Q56061
USER
And what about Baia?
(Q5066924,P1383,c(Q56061))
action count
action filter_type
action find
entity Q5066924
relation P1383
type Q56061
['Q5066924', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ontology:Q56061 . resource:Q5066924 property:P1383 ?n }
Baia
action count
action filter_type
action find
entity Baia
relation contains settlement
type administrative territorial entity
['Baia', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Baia property:contains_settlement ?n }
[]
administrative territorial entity
SYSTEM
5
(Q5066924,P1383,c(Q56061))
action count
action filter_type
action find
entity Q5066924
relation P1383
type Q56061
[ANSWER]
['Q5066924', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ontology:Q56061 . resource:Q5066924 property:P1383 ?n }
5
action count
action filter_type
action find
entity Baia
relation contains settlement
type administrative territorial entity
['Baia', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Baia property:contains_settlement ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3067212
P17
Q15617994
USER
Which administrative territory is Coroiești located in ?
(Q3067212,P17,c(Q15617994))
action filter_type
action find
entity Q3067212
relation P17
type Q15617994
['Q3067212', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3067212 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Coroiești
action filter_type
action find
entity Coroiești
relation country
type designation for an administrative territorial entity
['Coroiești', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Coroiești property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q3067212,P17,c(Q15617994))
action filter_type
action find
entity Q3067212
relation P17
type Q15617994
Coroiești is located in [ANSWER]
['Q3067212', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3067212 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Romania
Coroiești is located in Romania
Romania
action filter_type
action find
entity Coroiești
relation country
type designation for an administrative territorial entity
['Coroiești', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Coroiești property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P1376
Q515
USER
Which city is the capital of that administrative territory ?
(c(Q515),P1376,Q218)
action filter_type
action find_reverse
entity Q218
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q218']
SELECT DISTINCT ?l WHERE { ?l property:P1376 resource:Q218 . ?l rdf:type ontology:Q515 }
Romania
action filter_type
action find_reverse
entity Romania
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Romania']
SELECT DISTINCT ?l WHERE { ?l property:capital_of resource:Romania . ?l rdf:type ontology:city }
[]
city
Q19660
SYSTEM
Bucharest
Q19660
(c(Q515),P1376,Q218)
action filter_type
action find_reverse
entity Q218
relation P1376
type Q515
The capital of that administrative territory is [ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q218']
SELECT DISTINCT ?l WHERE { ?l property:P1376 resource:Q218 . ?l rdf:type ontology:Q515 }
Bucharest
The capital of that administrative territory is Bucharest
Bucharest
action filter_type
action find_reverse
entity Romania
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Romania']
SELECT DISTINCT ?l WHERE { ?l property:capital_of resource:Romania . ?l rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P183
Q16521
USER
Which taxon is endemic to that administrative territory ?
(c(Q16521),P183,Q19660)
action filter_type
action find_reverse
entity Q218
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q19660']
SELECT DISTINCT ?g WHERE { ?g property:P183 resource:Q218 . ?g rdf:type ontology:Q16521 }
Romania
action filter_type
action find_reverse
entity Romania
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Bucharest']
SELECT DISTINCT ?g WHERE { ?g property:endemic_to resource:Romania . ?g rdf:type ontology:taxon }
[]
taxon
Q2557264
SYSTEM
Nesticus orghidani
Q2557264
(c(Q16521),P183,Q19660)
action filter_type
action find_reverse
entity Q218
relation P183
type Q16521
[ANSWER] is endemic to that administrative territory
[{'concept': 'Q16521'}, 'P183', 'Q19660']
SELECT DISTINCT ?g WHERE { ?g property:P183 resource:Q218 . ?g rdf:type ontology:Q16521 }
Nesticus orghidani
Nesticus orghidani is endemic to that administrative territory
Nesticus orghidani
action filter_type
action find_reverse
entity Romania
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Bucharest']
SELECT DISTINCT ?g WHERE { ?g property:endemic_to resource:Romania . ?g rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P194
Q1752346
USER
Which assembly is the legislative body for Romania ?
(Q218,P194,c(Q1752346))
action filter_type
action find
entity Q218
relation P194
type Q1752346
['Q218', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { resource:Q218 property:P194 ?u . ?u rdf:type ontology:Q1752346 }
Romania
action filter_type
action find
entity Romania
relation legislative body
type assembly
['Romania', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { resource:Romania property:legislative_body ?u . ?u rdf:type ontology:assembly }
[]
assembly
Q1813360
SYSTEM
Parliament of Romania
Q1813360
(Q218,P194,c(Q1752346))
action filter_type
action find
entity Q218
relation P194
type Q1752346
The [ANSWER] is the legislative body for Romania
['Q218', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { resource:Q218 property:P194 ?u . ?u rdf:type ontology:Q1752346 }
Parliament of Romania
The Parliament of Romania is the legislative body for Romania
Parliament of Romania
action filter_type
action find
entity Romania
relation legislative body
type assembly
['Romania', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { resource:Romania property:legislative_body ?u . ?u rdf:type ontology:assembly }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q668
Q1752346
USER
And what about India?
(Q668,P194,c(Q1752346))
action filter_type
action find
entity Q668
relation P194
type Q1752346
['Q668', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?l WHERE { resource:Q668 property:P194 ?l . ?l rdf:type ontology:Q1752346 }
India
action filter_type
action find
entity India
relation legislative body
type assembly
['India', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?l WHERE { resource:India property:legislative_body ?l . ?l rdf:type ontology:assembly }
[]
assembly
Q695252
SYSTEM
Parliament of India
Q695252
(Q668,P194,c(Q1752346))
action filter_type
action find
entity Q668
relation P194
type Q1752346
[ANSWER]
['Q668', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?l WHERE { resource:Q668 property:P194 ?l . ?l rdf:type ontology:Q1752346 }
Parliament of India
Parliament of India
action filter_type
action find
entity India
relation legislative body
type assembly
['India', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?l WHERE { resource:India property:legislative_body ?l . ?l rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19660
P6
Q502895
USER
Which people are the head of government of Bucharest ?
(Q19660,P6,c(Q502895))
action filter_type
action find
entity Q19660
relation P6
type Q502895
['Q19660', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q19660 property:P6 ?u }
Bucharest
action filter_type
action find
entity Bucharest
relation head of government
type common name
['Bucharest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Bucharest property:head_of_government ?u }
[]
common name
Q57279 Q16593781 Q2016394
SYSTEM
Traian Băsescu, Gabriela Firea, Adriean Videanu
Q2016394 Q57279 Q16593781 Q980828
(Q19660,P6,c(Q502895))
action filter_type
action find
entity Q19660
relation P6
type Q502895
[ANSWERS] are the head of government of Bucharest
['Q19660', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q19660 property:P6 ?u }
Adriean Videanu Traian Băsescu Gabriela Firea Sorin Oprescu
Traian Băsescu, Gabriela Firea and Adriean Videanu are the head of government of Bucharest
Traian Băsescu Gabriela Firea Adriean Videanu
action filter_type
action find
entity Bucharest
relation head of government
type common name
['Bucharest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Bucharest property:head_of_government ?u }
[]