Simple Question (Direct)
Simple Question
Q14541294
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Mickey van der Hart ?
(Q14541294,P27,c(Q15617994))
action filter_type
action find
entity Q14541294
relation P27
type Q15617994
['Q14541294', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q14541294 property:P27 ?j }
Mickey van der Hart
action filter_type
action find
entity Mickey van der Hart
relation country of citizenship
type designation for an administrative territorial entity
['Mickey van der Hart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mickey_van_der_Hart property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q14541294,P27,c(Q15617994))
action filter_type
action find
entity Q14541294
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Mickey van der Hart
['Q14541294', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q14541294 property:P27 ?j }
Kingdom of the Netherlands
Kingdom of the Netherlands is the country of citizenship of Mickey van der Hart
Kingdom of the Netherlands
action filter_type
action find
entity Mickey van der Hart
relation country of citizenship
type designation for an administrative territorial entity
['Mickey van der Hart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mickey_van_der_Hart property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14541294
P734
Q82799
USER
Who is associated with that person ?
(Q29999,P734,c(Q82799))
action filter_type
action find
entity Q14541294
relation P734
type Q82799
['Q29999', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q14541294 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Mickey van der Hart
action filter_type
action find
entity Mickey van der Hart
relation family name
type name
['Kingdom of the Netherlands', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Mickey_van_der_Hart property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q1587003
SYSTEM
Hart
Q1587003
(Q29999,P734,c(Q82799))
action filter_type
action find
entity Q14541294
relation P734
type Q82799
[ANSWER] is associated with that person
['Q29999', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q14541294 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Hart
Hart is associated with that person
Hart
action filter_type
action find
entity Mickey van der Hart
relation family name
type name
['Kingdom of the Netherlands', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Mickey_van_der_Hart property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1587003
P1533
Q82799
USER
Which name is exactly similar to that one ?
(c(Q82799),P1533,Q1587003)
action filter_type
action find_reverse
entity Q1587003
relation P1533
type Q82799
[{'concept': 'Q82799'}, 'P1533', 'Q1587003']
SELECT DISTINCT ?k WHERE { ?k property:P1533 resource:Q1587003 . ?k rdf:type ontology:Q82799 }
Hart
action filter_type
action find_reverse
entity Hart
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Hart']
SELECT DISTINCT ?k WHERE { ?k property:family_name_identical_to_this_first_name resource:Hart . ?k rdf:type ontology:name }
[]
name
Q16256892
SYSTEM
Hart
Q16256892
(c(Q82799),P1533,Q1587003)
action filter_type
action find_reverse
entity Q1587003
relation P1533
type Q82799
Game [ANSWER] is exactly similar to that one
[{'concept': 'Q82799'}, 'P1533', 'Q1587003']
SELECT DISTINCT ?k WHERE { ?k property:P1533 resource:Q1587003 . ?k rdf:type ontology:Q82799 }
Hart
Game Hart is exactly similar to that one
Hart
action filter_type
action find_reverse
entity Hart
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Hart']
SELECT DISTINCT ?k WHERE { ?k property:family_name_identical_to_this_first_name resource:Hart . ?k rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2221906 Q151885 Q82799
USER
Which names are named after atleast 1 geographic locations and concepts ?
(c(Q82799),P138,c(Q2221906)|c(Q151885))
action atleast
action union
action find_tuple_counts
relation P138
type Q82799
type Q2221906
action find_tuple_counts
relation P138
type Q82799
type Q151885
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { { ?l rdf:type ontology:Q2221906 . ?k rdf:type ontology:Q82799 . ?k property:P138 ?l } UNION { ?k property:P138 ?l . ?k rdf:type ontology:Q82799 . ?l rdf:type ontology:Q151885 } } GROUP BY ?k } . FILTER ( ?m >= 1 ) }
action atleast
action union
action find_tuple_counts
relation named after
type name
type geographic location
action find_tuple_counts
relation named after
type name
type concept
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'concept'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { { ?l rdf:type ontology:geographic_location . ?k rdf:type ontology:name . ?k property:named_after ?l } UNION { ?k property:named_after ?l . ?k rdf:type ontology:name . ?l rdf:type ontology:concept } } GROUP BY ?k } . FILTER ( ?m >= 1 ) }
[]
geographic location concept name
Q21493520 Q13626156 Q22922124
SYSTEM
Bergmann, Ackermann, von Mecklenburg-Schwerin
Q21493520 Q13626156 Q22922124
(c(Q82799),P138,c(Q2221906)|c(Q151885))
action atleast
action union
action find_tuple_counts
relation P138
type Q82799
type Q2221906
action find_tuple_counts
relation P138
type Q82799
type Q151885
value 1
[ANSWERS] are named after atleast 1 geographic locations and concepts
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { { ?l rdf:type ontology:Q2221906 . ?k rdf:type ontology:Q82799 . ?k property:P138 ?l } UNION { ?k property:P138 ?l . ?k rdf:type ontology:Q82799 . ?l rdf:type ontology:Q151885 } } GROUP BY ?k } . FILTER ( ?m >= 1 ) }
Bergmann Ackermann von Mecklenburg-Schwerin
Bergmann, Ackermann and von Mecklenburg-Schwerin are named after atleast 1 geographic locations and concepts
Bergmann Ackermann von Mecklenburg-Schwerin
action atleast
action union
action find_tuple_counts
relation named after
type name
type geographic location
action find_tuple_counts
relation named after
type name
type concept
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'concept'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { { ?l rdf:type ontology:geographic_location . ?k rdf:type ontology:name . ?k property:named_after ?l } UNION { ?k property:named_after ?l . ?k rdf:type ontology:name . ?l rdf:type ontology:concept } } GROUP BY ?k } . FILTER ( ?m >= 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q119366 Q22922124
P937 P138
Q56061
USER
Which administrative territories are von Mecklenburg-Schwerin named after and are the locations where Werner Kuhn worked ?
AND((Q22922124,P138,c(Q56061)), (Q119366,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q22922124
relation P138
action find
entity Q119366
relation P937
type Q56061
{'AND': [['Q22922124', 'P138', {'concept': 'Q56061'}], ['Q119366', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { resource:Q22922124 property:P138 ?z . resource:Q119366 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Werner Kuhn von Mecklenburg-Schwerin
action filter_type
action intersection
action find
entity von Mecklenburg-Schwerin
relation named after
action find
entity Werner Kuhn
relation work location
type administrative territorial entity
{'AND': [['von Mecklenburg-Schwerin', 'named after', {'concept': 'administrative territorial entity'}], ['Werner Kuhn', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:von_Mecklenburg-Schwerin property:named_after ?z . resource:Werner_Kuhn property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1709
SYSTEM
Schwerin
Q1709
AND((Q22922124,P138,c(Q56061)), (Q119366,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q22922124
relation P138
action find
entity Q119366
relation P937
type Q56061
[ANSWER] is von Mecklenburg-[ANSWER] named after and is the locations where Werner Kuhn worked
{'AND': [['Q22922124', 'P138', {'concept': 'Q56061'}], ['Q119366', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { resource:Q22922124 property:P138 ?z . resource:Q119366 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Schwerin
Schwerin is von Mecklenburg-Schwerin named after and is the locations where Werner Kuhn worked
Schwerin
action filter_type
action intersection
action find
entity von Mecklenburg-Schwerin
relation named after
action find
entity Werner Kuhn
relation work location
type administrative territorial entity
{'AND': [['von Mecklenburg-Schwerin', 'named after', {'concept': 'administrative territorial entity'}], ['Werner Kuhn', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:von_Mecklenburg-Schwerin property:named_after ?z . resource:Werner_Kuhn property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1709 Q183
P17
Q1048835
USER
Is that administrative territory situated in Germany ?
(Q1709,P17,Q183)
action is_in
entity Q183
action find
entity Q1709
relation P17
['Q1709', 'P17', 'Q183']
ASK WHERE { resource:Q1709 property:P17 resource:Q183 }
Schwerin Germany
action is_in
entity Germany
action find
entity Schwerin
relation country
['Schwerin', 'country', 'Germany']
ASK WHERE { resource:Schwerin property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1709,P17,Q183)
action is_in
entity Q183
action find
entity Q1709
relation P17
[ANSWER]
['Q1709', 'P17', 'Q183']
ASK WHERE { resource:Q1709 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Schwerin
relation country
['Schwerin', 'country', 'Germany']
ASK WHERE { resource:Schwerin property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1587003 Q25167
P407
Q34770
USER
Is Hart composed in Bokmål ?
(Q1587003,P407,Q25167)
action is_in
entity Q25167
action find
entity Q1587003
relation P407
['Q1587003', 'P407', 'Q25167']
ASK WHERE { resource:Q1587003 property:P407 resource:Q25167 }
Hart Bokmål
action is_in
entity Bokmål
action find
entity Hart
relation language of work or name
['Hart', 'language of work or name', 'Bokmål']
ASK WHERE { resource:Hart property:language_of_work_or_name resource:Bokmål }
[]
language
SYSTEM
NO
(Q1587003,P407,Q25167)
action is_in
entity Q25167
action find
entity Q1587003
relation P407
[ANSWER]
['Q1587003', 'P407', 'Q25167']
ASK WHERE { resource:Q1587003 property:P407 resource:Q25167 }
No
action is_in
entity Bokmål
action find
entity Hart
relation language of work or name
['Hart', 'language of work or name', 'Bokmål']
ASK WHERE { resource:Hart property:language_of_work_or_name resource:Bokmål }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1587003
P407
Q34770
USER
How many languages are the languages of work for Hart ?
(Q1587003,P407,c(Q34770))
action count
action filter_type
action find
entity Q1587003
relation P407
type Q34770
['Q1587003', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ontology:Q34770 . resource:Q1587003 property:P407 ?a }
Hart
action count
action filter_type
action find
entity Hart
relation language of work or name
type language
['Hart', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ontology:language . resource:Hart property:language_of_work_or_name ?a }
[]
language
SYSTEM
1
Q1860
(Q1587003,P407,c(Q34770))
action count
action filter_type
action find
entity Q1587003
relation P407
type Q34770
[ANSWER]
['Q1587003', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ontology:Q34770 . resource:Q1587003 property:P407 ?a }
English
1
action count
action filter_type
action find
entity Hart
relation language of work or name
type language
['Hart', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ontology:language . resource:Hart property:language_of_work_or_name ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4765175
Q34770
USER
And what about Animerica Extra?
(Q4765175,P407,c(Q34770))
action filter_type
action find
entity Q4765175
relation P407
type Q34770
['Q4765175', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q4765175 property:P407 ?m . ?m rdf:type ontology:Q34770 }
Animerica Extra
action filter_type
action find
entity Animerica Extra
relation language of work or name
type language
['Animerica Extra', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Animerica_Extra property:language_of_work_or_name ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4765175,P407,c(Q34770))
action filter_type
action find
entity Q4765175
relation P407
type Q34770
[ANSWER]
['Q4765175', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q4765175 property:P407 ?m . ?m rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Animerica Extra
relation language of work or name
type language
['Animerica Extra', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Animerica_Extra property:language_of_work_or_name ?m . ?m rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1528012 Q29999
P47 P27
Q1048835
USER
Which political territories have a shared border with Kingdom of the Netherlands or do Roland Marwitz belong to ?
OR((Q29999,P47,c(Q1048835)), (Q1528012,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q29999
relation P47
action find
entity Q1528012
relation P27
type Q1048835
{'OR': [['Q29999', 'P47', {'concept': 'Q1048835'}], ['Q1528012', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q29999 property:P47 ?w } UNION { resource:Q1528012 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Roland Marwitz Kingdom of the Netherlands
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation shares border with
action find
entity Roland Marwitz
relation country of citizenship
type political territorial entity
{'OR': [['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}], ['Roland Marwitz', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?w } UNION { resource:Roland_Marwitz property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q29999,P47,c(Q1048835)), (Q1528012,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q29999
relation P47
action find
entity Q1528012
relation P27
type Q1048835
[ANSWER] have a shared border with Kingdom of the Netherlands or do Roland Marwitz belong to
{'OR': [['Q29999', 'P47', {'concept': 'Q1048835'}], ['Q1528012', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q29999 property:P47 ?w } UNION { resource:Q1528012 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Germany
Germany have a shared border with Kingdom of the Netherlands or do Roland Marwitz belong to
Germany
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation shares border with
action find
entity Roland Marwitz
relation country of citizenship
type political territorial entity
{'OR': [['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}], ['Roland Marwitz', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?w } UNION { resource:Roland_Marwitz property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q2569
P35
Q502895
USER
Does Karl Carstens have the highest formal authority in that political territory ?
(Q183,P35,Q2569)
action is_in
entity Q2569
action find
entity Q183
relation P35
['Q183', 'P35', 'Q2569']
ASK WHERE { resource:Q183 property:P35 resource:Q2569 }
Germany Karl Carstens
action is_in
entity Karl Carstens
action find
entity Germany
relation head of state
['Germany', 'head of state', 'Karl Carstens']
ASK WHERE { resource:Germany property:head_of_state resource:Karl_Carstens }
[]
common name
SYSTEM
YES
(Q183,P35,Q2569)
action is_in
entity Q2569
action find
entity Q183
relation P35
[ANSWER]
['Q183', 'P35', 'Q2569']
ASK WHERE { resource:Q183 property:P35 resource:Q2569 }
Yes
action is_in
entity Karl Carstens
action find
entity Germany
relation head of state
['Germany', 'head of state', 'Karl Carstens']
ASK WHERE { resource:Germany property:head_of_state resource:Karl_Carstens }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2515751 Q1587003
P364 P407
Q34770
USER
Which languages are the languages of work for Hart or were used originally for the creation of Heroes of Fort Worth ?
OR((Q1587003,P407,c(Q34770)), (Q2515751,P364,c(Q34770)))
action filter_type
action union
action find
entity Q1587003
relation P407
action find
entity Q2515751
relation P364
type Q34770
{'OR': [['Q1587003', 'P407', {'concept': 'Q34770'}], ['Q2515751', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1587003 property:P407 ?v } UNION { resource:Q2515751 property:P364 ?v } } . ?v rdf:type ontology:Q34770 }
Heroes of Fort Worth Hart
action filter_type
action union
action find
entity Hart
relation language of work or name
action find
entity Heroes of Fort Worth
relation original language of work
type language
{'OR': [['Hart', 'language of work or name', {'concept': 'language'}], ['Heroes of Fort Worth', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Hart property:language_of_work_or_name ?v } UNION { resource:Heroes_of_Fort_Worth property:original_language_of_work ?v } } . ?v rdf:type ontology:language }
[]
language
Q652 Q1860
SYSTEM
Italian, English
Q652 Q1860
OR((Q1587003,P407,c(Q34770)), (Q2515751,P364,c(Q34770)))
action filter_type
action union
action find
entity Q1587003
relation P407
action find
entity Q2515751
relation P364
type Q34770
[ANSWERS]
{'OR': [['Q1587003', 'P407', {'concept': 'Q34770'}], ['Q2515751', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1587003 property:P407 ?v } UNION { resource:Q2515751 property:P364 ?v } } . ?v rdf:type ontology:Q34770 }
Italian English
Which languages are the languages of work for Hart or were used originally for the creation of Heroes of Fort Worth
Italian English
action filter_type
action union
action find
entity Hart
relation language of work or name
action find
entity Heroes of Fort Worth
relation original language of work
type language
{'OR': [['Hart', 'language of work or name', {'concept': 'language'}], ['Heroes of Fort Worth', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Hart property:language_of_work_or_name ?v } UNION { resource:Heroes_of_Fort_Worth property:original_language_of_work ?v } } . ?v rdf:type ontology:language }
[]