Simple Question (Direct)
Simple Question
Q2371333
P27
Q1048835
USER
Which political territory is the native country of Sven Schacht ?
(Q2371333,P27,c(Q1048835))
action filter_type
action find
entity Q2371333
relation P27
type Q1048835
['Q2371333', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q2371333 property:P27 ?l }
Sven Schacht
action filter_type
action find
entity Sven Schacht
relation country of citizenship
type political territorial entity
['Sven Schacht', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Sven_Schacht property:country_of_citizenship ?l }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2371333,P27,c(Q1048835))
action filter_type
action find
entity Q2371333
relation P27
type Q1048835
[ANSWER]
['Q2371333', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q2371333 property:P27 ?l }
Germany
Germany
action filter_type
action find
entity Sven Schacht
relation country of citizenship
type political territorial entity
['Sven Schacht', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Sven_Schacht property:country_of_citizenship ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2371333
P20
Q56061
USER
Where did Sven Schacht die ?
(Q2371333,P20,c(Q56061))
action filter_type
action find
entity Q2371333
relation P20
type Q56061
['Q2371333', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2371333 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Sven Schacht
action filter_type
action find
entity Sven Schacht
relation place of death
type administrative territorial entity
['Sven Schacht', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sven_Schacht property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
(Q2371333,P20,c(Q56061))
action filter_type
action find
entity Q2371333
relation P20
type Q56061
[ANSWER]
['Q2371333', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2371333 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Belgrade
Belgrade
action filter_type
action find
entity Sven Schacht
relation place of death
type administrative territorial entity
['Sven Schacht', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sven_Schacht property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3158743
Q56061
USER
And also tell me about Jacques Dextraze?
(Q3158743,P20,c(Q56061))
action filter_type
action find
entity Q3158743
relation P20
type Q56061
['Q3158743', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3158743 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Jacques Dextraze
action filter_type
action find
entity Jacques Dextraze
relation place of death
type administrative territorial entity
['Jacques Dextraze', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jacques_Dextraze property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q3158743,P20,c(Q56061))
action filter_type
action find
entity Q3158743
relation P20
type Q56061
[ANSWER]
['Q3158743', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3158743 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Montreal
Montreal
action filter_type
action find
entity Jacques Dextraze
relation place of death
type administrative territorial entity
['Jacques Dextraze', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jacques_Dextraze property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q340 Q543262
P190
Q515
USER
How many cities are the sister cities of Montreal or City of Wanneroo ?
(Q340,P190,c(Q515)) (Q543262,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q340
relation P190
type Q515
action filter_type
action find
entity Q543262
relation P190
type Q515
['Q340', 'P190', {'concept': 'Q515'}] ['Q543262', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { resource:Q543262 property:P190 ?n . ?n rdf:type ontology:Q515 } UNION { resource:Q340 property:P190 ?n . ?n rdf:type ontology:Q515 } }
Montreal City of Wanneroo
action count
action union
action filter_type
action find
entity Montreal
relation sister city
type city
action filter_type
action find
entity City of Wanneroo
relation sister city
type city
['Montreal', 'sister city', {'concept': 'city'}] ['City of Wanneroo', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { resource:City_of_Wanneroo property:sister_city ?n . ?n rdf:type ontology:city } UNION { resource:Montreal property:sister_city ?n . ?n rdf:type ontology:city } }
[]
city
SYSTEM
9
Q16520 Q34261 Q1953 Q3572 Q1858 Q19660 Q47916 Q1461 Q571808
(Q340,P190,c(Q515)) (Q543262,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q340
relation P190
type Q515
action filter_type
action find
entity Q543262
relation P190
type Q515
[ANSWER]
['Q340', 'P190', {'concept': 'Q515'}] ['Q543262', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { resource:Q543262 property:P190 ?n . ?n rdf:type ontology:Q515 } UNION { resource:Q340 property:P190 ?n . ?n rdf:type ontology:Q515 } }
Busan Port-au-Prince Yerevan Tunis Hanoi Bucharest Lucknow Manila Guigang
9
action count
action union
action filter_type
action find
entity Montreal
relation sister city
type city
action filter_type
action find
entity City of Wanneroo
relation sister city
type city
['Montreal', 'sister city', {'concept': 'city'}] ['City of Wanneroo', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { resource:City_of_Wanneroo property:sister_city ?n . ?n rdf:type ontology:city } UNION { resource:Montreal property:sister_city ?n . ?n rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54635
P17
Q15617994
USER
Which administrative territory is Placanica present in ?
(Q54635,P17,c(Q15617994))
action filter_type
action find
entity Q54635
relation P17
type Q15617994
['Q54635', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q54635 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Placanica
action filter_type
action find
entity Placanica
relation country
type designation for an administrative territorial entity
['Placanica', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Placanica property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q54635,P17,c(Q15617994))
action filter_type
action find
entity Q54635
relation P17
type Q15617994
[ANSWER]
['Q54635', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q54635 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Italy
Italy
action filter_type
action find
entity Placanica
relation country
type designation for an administrative territorial entity
['Placanica', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Placanica property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6500043
Q15617994
USER
And how about Laurel View River?
(Q6500043,P17,c(Q15617994))
action filter_type
action find
entity Q6500043
relation P17
type Q15617994
['Q6500043', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6500043 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Laurel View River
action filter_type
action find
entity Laurel View River
relation country
type designation for an administrative territorial entity
['Laurel View River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Laurel_View_River property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6500043,P17,c(Q15617994))
action filter_type
action find
entity Q6500043
relation P17
type Q15617994
[ANSWER]
['Q6500043', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6500043 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Laurel View River
relation country
type designation for an administrative territorial entity
['Laurel View River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Laurel_View_River property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q21063817
P6
Q502895
USER
Is that administrative territory the head of goverment of Sam Kennedy ?
(Q30,P6,Q21063817)
action is_in
entity Q21063817
action find
entity Q30
relation P6
['Q30', 'P6', 'Q21063817']
ASK WHERE { resource:Q30 property:P6 resource:Q21063817 }
United States of America Sam Kennedy
action is_in
entity Sam Kennedy
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Sam Kennedy']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Sam_Kennedy }
[]
common name
SYSTEM
NO
(Q30,P6,Q21063817)
action is_in
entity Q21063817
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q21063817']
ASK WHERE { resource:Q30 property:P6 resource:Q21063817 }
No
action is_in
entity Sam Kennedy
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Sam Kennedy']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Sam_Kennedy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3711
P1376
Q7275
USER
Which states have Belgrade as their capital ?
(Q3711,P1376,c(Q7275))
action filter_type
action find
entity Q3711
relation P1376
type Q7275
['Q3711', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7275 . resource:Q3711 property:P1376 ?w }
Belgrade
action filter_type
action find
entity Belgrade
relation capital of
type state
['Belgrade', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:state . resource:Belgrade property:capital_of ?w }
[]
state
Q36704 Q37024 Q241748
SYSTEM
Yugoslavia, Serbia and Montenegro, Kingdom of Serbia
Q241748 Q878319 Q269864 Q83286 Q191077 Q37024 Q36704
(Q3711,P1376,c(Q7275))
action filter_type
action find
entity Q3711
relation P1376
type Q7275
[ANSWERS]
['Q3711', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7275 . resource:Q3711 property:P1376 ?w }
Kingdom of Serbia Serbian Despotate Socialist Republic of Serbia Socialist Federal Republic of Yugoslavia Kingdom of Yugoslavia Serbia and Montenegro Yugoslavia
Yugoslavia Serbia and Montenegro Kingdom of Serbia
action filter_type
action find
entity Belgrade
relation capital of
type state
['Belgrade', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:state . resource:Belgrade property:capital_of ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q131694
Q7275
USER
And how about Aden?
(Q131694,P1376,c(Q7275))
action filter_type
action find
entity Q131694
relation P1376
type Q7275
['Q131694', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q131694 property:P1376 ?n . ?n rdf:type ontology:Q7275 }
Aden
action filter_type
action find
entity Aden
relation capital of
type state
['Aden', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Aden property:capital_of ?n . ?n rdf:type ontology:state }
[]
state
Q834486 Q2378381 Q199841
SYSTEM
Federation of South Arabia, State of Aden, South Yemen
Q834486 Q2378381 Q199841
(Q131694,P1376,c(Q7275))
action filter_type
action find
entity Q131694
relation P1376
type Q7275
[ANSWERS]
['Q131694', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q131694 property:P1376 ?n . ?n rdf:type ontology:Q7275 }
Federation of South Arabia State of Aden South Yemen
Federation of South Arabia State of Aden South Yemen
action filter_type
action find
entity Aden
relation capital of
type state
['Aden', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Aden property:capital_of ?n . ?n rdf:type ontology:state }
[]