Simple Question (Direct)
Simple Question
Q264117
P734
Q82799
USER
Which name is associated with Brian Wilson ?
(Q264117,P734,c(Q82799))
action filter_type
action find
entity Q264117
relation P734
type Q82799
['Q264117', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q264117 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Brian Wilson
action filter_type
action find
entity Brian Wilson
relation family name
type name
['Brian Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Brian_Wilson property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q1645480
SYSTEM
Wilson
Q1645480
(Q264117,P734,c(Q82799))
action filter_type
action find
entity Q264117
relation P734
type Q82799
[ANSWER] is associated with Brian [ANSWER]
['Q264117', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q264117 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Wilson
Wilson is associated with Brian Wilson
Wilson
action filter_type
action find
entity Brian Wilson
relation family name
type name
['Brian Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Brian_Wilson property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q264117
P39
Q12737077
USER
Which occupation was a position held by Brian Wilson ?
(Q264117,P39,c(Q12737077))
action filter_type
action find
entity Q264117
relation P39
type Q12737077
['Q264117', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q264117 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Brian Wilson
action filter_type
action find
entity Brian Wilson
relation position held
type occupation
['Brian Wilson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Brian_Wilson property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q3272410
SYSTEM
Member of the Legislative Assembly of Northern Ireland
Q3272410
(Q264117,P39,c(Q12737077))
action filter_type
action find
entity Q264117
relation P39
type Q12737077
The [ANSWER] was a position held by Brian Wilson
['Q264117', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q264117 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Member of the Legislative Assembly of Northern Ireland
The Member of the Legislative Assembly of Northern Ireland was a position held by Brian Wilson
Member of the Legislative Assembly of Northern Ireland
action filter_type
action find
entity Brian Wilson
relation position held
type occupation
['Brian Wilson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Brian_Wilson property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3272410 Q7384592
P39
Q502895
USER
Was Ryan Torgerson appointed for the position of that occupation ?
(Q7384592,P39,Q3272410)
action is_in
entity Q7384592
action find
entity Q3272410
relation P39
['Q7384592', 'P39', 'Q3272410']
ASK WHERE { resource:Q3272410 property:P39 resource:Q7384592 }
Member of the Legislative Assembly of Northern Ireland Ryan Torgerson
action is_in
entity Ryan Torgerson
action find
entity Member of the Legislative Assembly of Northern Ireland
relation position held
['Ryan Torgerson', 'position held', 'Member of the Legislative Assembly of Northern Ireland']
ASK WHERE { resource:Member_of_the_Legislative_Assembly_of_Northern_Ireland property:position_held resource:Ryan_Torgerson }
[]
common name
SYSTEM
NO
(Q7384592,P39,Q3272410)
action is_in
entity Q7384592
action find
entity Q3272410
relation P39
[ANSWER]
['Q7384592', 'P39', 'Q3272410']
ASK WHERE { resource:Q3272410 property:P39 resource:Q7384592 }
No
action is_in
entity Ryan Torgerson
action find
entity Member of the Legislative Assembly of Northern Ireland
relation position held
['Ryan Torgerson', 'position held', 'Member of the Legislative Assembly of Northern Ireland']
ASK WHERE { resource:Member_of_the_Legislative_Assembly_of_Northern_Ireland property:position_held resource:Ryan_Torgerson }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1645480
P734
Q6619679 Q15619164
USER
How many fictional humanoids and abstract beings have Wilson as family name ?
(c(Q6619679),P734,Q1645480) (c(Q15619164),P734,Q1645480)
action count
action union
action filter_type
action find_reverse
entity Q1645480
relation P734
type Q6619679
action filter_type
action find_reverse
entity Q1645480
relation P734
type Q15619164
[{'concept': 'Q6619679'}, 'P734', 'Q1645480'] [{'concept': 'Q15619164'}, 'P734', 'Q1645480']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:P734 resource:Q1645480 . ?r rdf:type ontology:Q6619679 } UNION { ?r property:P734 resource:Q1645480 . ?r rdf:type ontology:Q15619164 } }
Wilson
action count
action union
action filter_type
action find_reverse
entity Wilson
relation family name
type fictional humanoid
action filter_type
action find_reverse
entity Wilson
relation family name
type abstract being
[{'concept': 'fictional humanoid'}, 'family name', 'Wilson'] [{'concept': 'abstract being'}, 'family name', 'Wilson']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:family_name resource:Wilson . ?r rdf:type ontology:fictional_humanoid } UNION { ?r property:family_name resource:Wilson . ?r rdf:type ontology:abstract_being } }
[]
fictional humanoid abstract being
SYSTEM
10 fictional humanoids and 5 abstract beings
Q6789533 Q496902 Q7933298 Q5899591 Q6115817 Q6198986 Q25364125 Q24022345 Q5193073 Q5503299 Q16573988 Q610337 Q5592155 Q3032640 Q7052956
(c(Q6619679),P734,Q1645480) (c(Q15619164),P734,Q1645480)
action count
action union
action filter_type
action find_reverse
entity Q1645480
relation P734
type Q6619679
action filter_type
action find_reverse
entity Q1645480
relation P734
type Q15619164
[ANSWER]
[{'concept': 'Q6619679'}, 'P734', 'Q1645480'] [{'concept': 'Q15619164'}, 'P734', 'Q1645480']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:P734 resource:Q1645480 . ?r rdf:type ontology:Q6619679 } UNION { ?r property:P734 resource:Q1645480 . ?r rdf:type ontology:Q15619164 } }
Matt Wilson James Wilson Violet Wilson Hope Wilson Jack Wilson Jim Wilson Napoleon Wilson Sam Wilson / Falcon Cully Wilson Freya Wilson Hannah Wilson Rose Wilson Grady Wilson Dixon Wilson Norman Wilson
10 fictional humanoids and 5 abstract beings
action count
action union
action filter_type
action find_reverse
entity Wilson
relation family name
type fictional humanoid
action filter_type
action find_reverse
entity Wilson
relation family name
type abstract being
[{'concept': 'fictional humanoid'}, 'family name', 'Wilson'] [{'concept': 'abstract being'}, 'family name', 'Wilson']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:family_name resource:Wilson . ?r rdf:type ontology:fictional_humanoid } UNION { ?r property:family_name resource:Wilson . ?r rdf:type ontology:abstract_being } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1249664 Q264117
P27 P159
Q15617994
USER
Which administrative territories are Brian Wilson an inhabitant of or are the head office for Novoflex located ?
OR((Q264117,P27,c(Q15617994)), (Q1249664,P159,c(Q15617994)))
action filter_type
action union
action find
entity Q264117
relation P27
action find
entity Q1249664
relation P159
type Q15617994
{'OR': [['Q264117', 'P27', {'concept': 'Q15617994'}], ['Q1249664', 'P159', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q264117 property:P27 ?r } UNION { resource:Q1249664 property:P159 ?r } } . ?r rdf:type ontology:Q15617994 }
Novoflex Brian Wilson
action filter_type
action union
action find
entity Brian Wilson
relation country of citizenship
action find
entity Novoflex
relation headquarters location
type designation for an administrative territorial entity
{'OR': [['Brian Wilson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Novoflex', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Brian_Wilson property:country_of_citizenship ?r } UNION { resource:Novoflex property:headquarters_location ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q14825 Q145
SYSTEM
Memmingen, United Kingdom
Q14825 Q145
OR((Q264117,P27,c(Q15617994)), (Q1249664,P159,c(Q15617994)))
action filter_type
action union
action find
entity Q264117
relation P27
action find
entity Q1249664
relation P159
type Q15617994
[ANSWERS] are Brian Wilson an inhabitant of or are the head office for Novoflex located
{'OR': [['Q264117', 'P27', {'concept': 'Q15617994'}], ['Q1249664', 'P159', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q264117 property:P27 ?r } UNION { resource:Q1249664 property:P159 ?r } } . ?r rdf:type ontology:Q15617994 }
Memmingen United Kingdom
Memmingen and United Kingdom are Brian Wilson an inhabitant of or are the head office for Novoflex located
Memmingen United Kingdom
action filter_type
action union
action find
entity Brian Wilson
relation country of citizenship
action find
entity Novoflex
relation headquarters location
type designation for an administrative territorial entity
{'OR': [['Brian Wilson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Novoflex', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Brian_Wilson property:country_of_citizenship ?r } UNION { resource:Novoflex property:headquarters_location ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q20667921
USER
How many administrative territories or french administrative divisions are twin towns of that administrative territory ?
(Q14825,P190,c(Q56061)) (Q14825,P190,c(Q20667921)) (Q14825,P190,c(Q56061)) (Q14825,P190,c(Q20667921)) (Q145,P190,c(Q56061)) (Q145,P190,c(Q20667921))
['Q14825', 'P190', {'concept': 'Q56061'}] ['Q14825', 'P190', {'concept': 'Q20667921'}] ['Q14825', 'P190', {'concept': 'Q56061'}] ['Q14825', 'P190', {'concept': 'Q20667921'}] ['Q145', 'P190', {'concept': 'Q56061'}] ['Q145', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q14825 property:P190 ?z } UNION { resource:Q14825 property:P190 ?y } UNION { resource:Q14825 property:P190 ?z } UNION { resource:Q14825 property:P190 ?y } UNION { resource:Q225249 property:P190 ?z } UNION { resource:Q225249 property:P190 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q20667921 }
['Memmingen', 'sister city', {'concept': 'administrative territorial entity'}] ['Memmingen', 'sister city', {'concept': 'type of french administrative division'}] ['Memmingen', 'sister city', {'concept': 'administrative territorial entity'}] ['Memmingen', 'sister city', {'concept': 'type of french administrative division'}] ['United Kingdom', 'sister city', {'concept': 'administrative territorial entity'}] ['United Kingdom', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Memmingen property:sister_city ?z } UNION { resource:Memmingen property:sister_city ?y } UNION { resource:Memmingen property:sister_city ?z } UNION { resource:Memmingen property:sister_city ?y } UNION { resource:United_Kingdom property:sister_city ?z } UNION { resource:United_Kingdom property:sister_city ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
administrative territorial entity type of french administrative division
Quantitative|Count|Mult. entity type|Clarification
Q14825
SYSTEM
Did you mean Memmingen ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q14825 property:P190 ?z } UNION { resource:Q14825 property:P190 ?y } UNION { resource:Q14825 property:P190 ?z } UNION { resource:Q14825 property:P190 ?y } UNION { resource:Q225249 property:P190 ?z } UNION { resource:Q225249 property:P190 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q20667921 }
Did you mean Memmingen ?
Memmingen
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Memmingen property:sister_city ?z } UNION { resource:Memmingen property:sister_city ?y } UNION { resource:Memmingen property:sister_city ?z } UNION { resource:Memmingen property:sister_city ?y } UNION { resource:United_Kingdom property:sister_city ?z } UNION { resource:United_Kingdom property:sister_city ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q14825,P190,c(Q56061)) (Q14825,P190,c(Q20667921)) (Q14825,P190,c(Q56061)) (Q14825,P190,c(Q20667921)) (Q145,P190,c(Q56061)) (Q145,P190,c(Q20667921))
['Q14825', 'P190', {'concept': 'Q56061'}] ['Q14825', 'P190', {'concept': 'Q20667921'}] ['Q14825', 'P190', {'concept': 'Q56061'}] ['Q14825', 'P190', {'concept': 'Q20667921'}] ['Q145', 'P190', {'concept': 'Q56061'}] ['Q145', 'P190', {'concept': 'Q20667921'}]
['Memmingen', 'sister city', {'concept': 'administrative territorial entity'}] ['Memmingen', 'sister city', {'concept': 'type of french administrative division'}] ['Memmingen', 'sister city', {'concept': 'administrative territorial entity'}] ['Memmingen', 'sister city', {'concept': 'type of french administrative division'}] ['United Kingdom', 'sister city', {'concept': 'administrative territorial entity'}] ['United Kingdom', 'sister city', {'concept': 'type of french administrative division'}]
[]
SYSTEM
3
Q181725 Q484870 Q51682
(Q14825,P190,c(Q56061)) (Q14825,P190,c(Q20667921)) (Q14825,P190,c(Q56061)) (Q14825,P190,c(Q20667921)) (Q145,P190,c(Q56061)) (Q145,P190,c(Q20667921))
[ANSWER]
['Q14825', 'P190', {'concept': 'Q56061'}] ['Q14825', 'P190', {'concept': 'Q20667921'}] ['Q14825', 'P190', {'concept': 'Q56061'}] ['Q14825', 'P190', {'concept': 'Q20667921'}] ['Q145', 'P190', {'concept': 'Q56061'}] ['Q145', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q14825 property:P190 ?z } UNION { resource:Q14825 property:P190 ?y } UNION { resource:Q14825 property:P190 ?z } UNION { resource:Q14825 property:P190 ?y } UNION { resource:Q225249 property:P190 ?z } UNION { resource:Q225249 property:P190 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q20667921 }
Auch Eisleben Glendale
3
['Memmingen', 'sister city', {'concept': 'administrative territorial entity'}] ['Memmingen', 'sister city', {'concept': 'type of french administrative division'}] ['Memmingen', 'sister city', {'concept': 'administrative territorial entity'}] ['Memmingen', 'sister city', {'concept': 'type of french administrative division'}] ['United Kingdom', 'sister city', {'concept': 'administrative territorial entity'}] ['United Kingdom', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Memmingen property:sister_city ?z } UNION { resource:Memmingen property:sister_city ?y } UNION { resource:Memmingen property:sister_city ?z } UNION { resource:Memmingen property:sister_city ?y } UNION { resource:United_Kingdom property:sister_city ?z } UNION { resource:United_Kingdom property:sister_city ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14825
P931
Q62447
USER
Which aerodrome serves Memmingen ?
(c(Q62447),P931,Q14825)
action filter_type
action find_reverse
entity Q14825
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q14825']
SELECT DISTINCT ?h WHERE { ?h property:P931 resource:Q14825 . ?h rdf:type ontology:Q62447 }
Memmingen
action filter_type
action find_reverse
entity Memmingen
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Memmingen']
SELECT DISTINCT ?h WHERE { ?h property:place_served_by_airport resource:Memmingen . ?h rdf:type ontology:aerodrome }
[]
aerodrome
Q651281
SYSTEM
Memmingen Airport
Q651281
(c(Q62447),P931,Q14825)
action filter_type
action find_reverse
entity Q14825
relation P931
type Q62447
Airport [ANSWER] serves Memmingen
[{'concept': 'Q62447'}, 'P931', 'Q14825']
SELECT DISTINCT ?h WHERE { ?h property:P931 resource:Q14825 . ?h rdf:type ontology:Q62447 }
Memmingen Airport
Airport Memmingen Airport serves Memmingen
Memmingen Airport
action filter_type
action find_reverse
entity Memmingen
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Memmingen']
SELECT DISTINCT ?h WHERE { ?h property:place_served_by_airport resource:Memmingen . ?h rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14825
P20
Q502895
USER
Which people have that administrative territory as place of death ?
(c(Q502895),P20,Q651281)
action filter_type
action find_reverse
entity Q14825
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q651281']
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q14825 . ?g rdf:type ontology:Q502895 }
Memmingen
action filter_type
action find_reverse
entity Memmingen
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Memmingen Airport']
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Memmingen . ?g rdf:type ontology:common_name }
[]
common name
Q2575036 Q1662231 Q68012
SYSTEM
Wilhelm Schwarz, Lorenz Riedmiller, Welf VI
Q1875128 Q92150 Q1693665 Q1085710 Q1291719 Q594321 Q1712845 Q1239569 Q1385002 Q1582683 Q1625718 Q1512202 Q805609 Q18289203 Q1693789 Q2037175 Q1288346 Q1272099 Q637420 Q1555687 Q2271698 Q12043300 Q1254082 Q1695307 Q1402339 Q2560783 Q1098832 Q2575036 Q1662231 Q1582678 Q1579299 Q1692355 Q68012 Q2040055 Q1634324 Q1287262 Q1515644 Q6429731 Q1558912 Q469061 Q1085955 Q1504204 Q15843223
(c(Q502895),P20,Q651281)
action filter_type
action find_reverse
entity Q14825
relation P20
type Q502895
[ANSWERS] have that administrative territory as place of death
[{'concept': 'Q502895'}, 'P20', 'Q651281']
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q14825 . ?g rdf:type ontology:Q502895 }
Ludwig Vogelmann Karl Michael Komma Johann Friedrich Sichelbein Christoph Rheineck Walter Braun Anton Spiehler Julius Miedel Leonhard Vogt Johann Blumenstock Hans Strigel the Elder Magnus Anton Reindl Julius von Roeck Balthasar Hermann Peter Rummel Johann Georg Buder Otomārs Nemme Ivo Strigel Max Beringer Bernhard Strigel Gustav Brauner Sepp Skalitzky Otto Halke Michael Strigel Maria Elisabeth Stapp Fritz Möser Werner Altrogge Claus Strigel Wilhelm Schwarz Lorenz Riedmiller Hans Strigel Hans Ehinger Johann Andreas Hommel Welf VI Otto Neudert Ludwig Schraut Elias Bilgram Gertrud Otto Konrad Knabe Max Pöppel Josef Madlener Christoph Städele Georg Fey Rudolf Fritz Weiss
Wilhelm Schwarz, Lorenz Riedmiller and Welf VI have that administrative territory as place of death
Wilhelm Schwarz Lorenz Riedmiller Welf VI
action filter_type
action find_reverse
entity Memmingen
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Memmingen Airport']
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Memmingen . ?g rdf:type ontology:common_name }
[]