Simple Question (Direct)
Simple Question
Q2851714
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Annie Vernay ?
(Q2851714,P27,c(Q15617994))
action filter_type
action find
entity Q2851714
relation P27
type Q15617994
['Q2851714', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2851714 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Annie Vernay
action filter_type
action find
entity Annie Vernay
relation country of citizenship
type designation for an administrative territorial entity
['Annie Vernay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Annie_Vernay property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q2851714,P27,c(Q15617994))
action filter_type
action find
entity Q2851714
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Annie Vernay
['Q2851714', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2851714 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Switzerland
Switzerland is the country of citizenship of Annie Vernay
Switzerland
action filter_type
action find
entity Annie Vernay
relation country of citizenship
type designation for an administrative territorial entity
['Annie Vernay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Annie_Vernay property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P138
Q12280
USER
Which bridge is named after that administrative territory ?
(c(Q12280),P138,Q39)
action filter_type
action find_reverse
entity Q39
relation P138
type Q12280
[{'concept': 'Q12280'}, 'P138', 'Q39']
SELECT DISTINCT ?u WHERE { ?u property:P138 resource:Q39 . ?u rdf:type ontology:Q12280 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u property:named_after resource:Switzerland . ?u rdf:type ontology:bridge }
[]
bridge
Q205682
SYSTEM
Three Countries Bridge
Q205682
(c(Q12280),P138,Q39)
action filter_type
action find_reverse
entity Q39
relation P138
type Q12280
The [ANSWER] is named after that administrative territory
[{'concept': 'Q12280'}, 'P138', 'Q39']
SELECT DISTINCT ?u WHERE { ?u property:P138 resource:Q39 . ?u rdf:type ontology:Q12280 }
Three Countries Bridge
The Three Countries Bridge is named after that administrative territory
Three Countries Bridge
action filter_type
action find_reverse
entity Switzerland
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u property:named_after resource:Switzerland . ?u rdf:type ontology:bridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q205682
P84
Q502895
USER
Who designed the architecture of that bridge ?
(Q205682,P84,c(Q502895))
action filter_type
action find
entity Q205682
relation P84
type Q502895
['Q205682', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q205682 property:P84 ?p . ?p rdf:type ontology:Q502895 }
Three Countries Bridge
action filter_type
action find
entity Three Countries Bridge
relation architect
type common name
['Three Countries Bridge', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Three_Countries_Bridge property:architect ?p . ?p rdf:type ontology:common_name }
[]
common name
Q87087
SYSTEM
Dietmar Feichtinger
Q87087
(Q205682,P84,c(Q502895))
action filter_type
action find
entity Q205682
relation P84
type Q502895
[ANSWER] designed the architecture of that bridge
['Q205682', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q205682 property:P84 ?p . ?p rdf:type ontology:Q502895 }
Dietmar Feichtinger
Dietmar Feichtinger designed the architecture of that bridge
Dietmar Feichtinger
action filter_type
action find
entity Three Countries Bridge
relation architect
type common name
['Three Countries Bridge', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Three_Countries_Bridge property:architect ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2269203
Q502895
USER
And what about Lage vuurtoren van IJmuiden?
(Q2269203,P84,c(Q502895))
action filter_type
action find
entity Q2269203
relation P84
type Q502895
['Q2269203', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q2269203 property:P84 ?y }
Lage vuurtoren van IJmuiden
action filter_type
action find
entity Lage vuurtoren van IJmuiden
relation architect
type common name
['Lage vuurtoren van IJmuiden', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Lage_vuurtoren_van_IJmuiden property:architect ?y }
[]
common name
Q983346
SYSTEM
Quirinus Harder
Q983346
(Q2269203,P84,c(Q502895))
action filter_type
action find
entity Q2269203
relation P84
type Q502895
[ANSWER]
['Q2269203', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q2269203 property:P84 ?y }
Quirinus Harder
Quirinus Harder
action filter_type
action find
entity Lage vuurtoren van IJmuiden
relation architect
type common name
['Lage vuurtoren van IJmuiden', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Lage_vuurtoren_van_IJmuiden property:architect ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 8818 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 8818
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?b <= 8818 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8818
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?b <= 8818 ) }
[]
musical instrument common name
SYSTEM
65
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 count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 8818
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?b <= 8818 ) }
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
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8818
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?b <= 8818 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3610153 Q205682
P19 P138
Q15617994
USER
Which administrative territories are Three Countries Bridge named after or are the birthplace of Alessandro Monteleone ?
OR((Q205682,P138,c(Q15617994)), (Q3610153,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q205682
relation P138
action find
entity Q3610153
relation P19
type Q15617994
{'OR': [['Q205682', 'P138', {'concept': 'Q15617994'}], ['Q3610153', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q205682 property:P138 ?s } UNION { resource:Q3610153 property:P19 ?s } } . ?s rdf:type ontology:Q15617994 }
Alessandro Monteleone Three Countries Bridge
action filter_type
action union
action find
entity Three Countries Bridge
relation named after
action find
entity Alessandro Monteleone
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Three Countries Bridge', 'named after', {'concept': 'designation for an administrative territorial entity'}], ['Alessandro Monteleone', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Three_Countries_Bridge property:named_after ?s } UNION { resource:Alessandro_Monteleone property:place_of_birth ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q54682 Q39
SYSTEM
France, Taurianova, Switzerland
Q142 Q54682 Q39
OR((Q205682,P138,c(Q15617994)), (Q3610153,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q205682
relation P138
action find
entity Q3610153
relation P19
type Q15617994
[ANSWERS] are Three Countries Bridge named after or are the birthplace of Alessandro Monteleone
{'OR': [['Q205682', 'P138', {'concept': 'Q15617994'}], ['Q3610153', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q205682 property:P138 ?s } UNION { resource:Q3610153 property:P19 ?s } } . ?s rdf:type ontology:Q15617994 }
France Taurianova Switzerland
France, Taurianova and Switzerland are Three Countries Bridge named after or are the birthplace of Alessandro Monteleone
France Taurianova Switzerland
action filter_type
action union
action find
entity Three Countries Bridge
relation named after
action find
entity Alessandro Monteleone
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Three Countries Bridge', 'named after', {'concept': 'designation for an administrative territorial entity'}], ['Alessandro Monteleone', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Three_Countries_Bridge property:named_after ?s } UNION { resource:Alessandro_Monteleone property:place_of_birth ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q54682 Q39
P17
Q15617994
USER
Which administrative territories are France, Taurianova and Switzerland a part of ?
(Q142,P17,c(Q15617994)) (Q54682,P17,c(Q15617994)) (Q39,P17,c(Q15617994))
action union
action filter_type
action find
entity Q142
relation P17
type Q15617994
action filter_type
action find
entity Q54682
relation P17
type Q15617994
action filter_type
action find
entity Q39
relation P17
type Q15617994
['Q142', 'P17', {'concept': 'Q15617994'}] ['Q54682', 'P17', {'concept': 'Q15617994'}] ['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q54682 ) } . ?c property:P17 ?b }
France Taurianova Switzerland
action union
action filter_type
action find
entity France
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Taurianova
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Switzerland
relation country
type designation for an administrative territorial entity
['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Taurianova', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:Taurianova ) } . ?c property:country ?b }
[]
designation for an administrative territorial entity
Q142 Q38 Q39
SYSTEM
France, Italy, Switzerland
Q142 Q38 Q39
(Q142,P17,c(Q15617994)) (Q54682,P17,c(Q15617994)) (Q39,P17,c(Q15617994))
action union
action filter_type
action find
entity Q142
relation P17
type Q15617994
action filter_type
action find
entity Q54682
relation P17
type Q15617994
action filter_type
action find
entity Q39
relation P17
type Q15617994
[ANSWERS] are France, Taurianova and Switzerland a part of
['Q142', 'P17', {'concept': 'Q15617994'}] ['Q54682', 'P17', {'concept': 'Q15617994'}] ['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q54682 ) } . ?c property:P17 ?b }
France Italy Switzerland
France, Italy and Switzerland are France, Taurianova and Switzerland a part of
France Italy Switzerland
action union
action filter_type
action find
entity France
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Taurianova
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Switzerland
relation country
type designation for an administrative territorial entity
['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Taurianova', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:Taurianova ) } . ?c property:country ?b }
[]