Simple Question (Direct)
Simple Question
Q1360770
P20
Q56061
USER
Where did the demise of Ernst von Bassermann-Jordan occur ?
(Q1360770,P20,c(Q56061))
action filter_type
action find
entity Q1360770
relation P20
type Q56061
['Q1360770', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1360770 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Ernst von Bassermann-Jordan
action filter_type
action find
entity Ernst von Bassermann-Jordan
relation place of death
type administrative territorial entity
['Ernst von Bassermann-Jordan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Ernst_von_Bassermann-Jordan property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1360770,P20,c(Q56061))
action filter_type
action find
entity Q1360770
relation P20
type Q56061
The demise of Ernst von Bassermann-Jordan occurred in [ANSWER]
['Q1360770', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1360770 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Munich
The demise of Ernst von Bassermann-Jordan occurred in Munich
Munich
action filter_type
action find
entity Ernst von Bassermann-Jordan
relation place of death
type administrative territorial entity
['Ernst von Bassermann-Jordan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Ernst_von_Bassermann-Jordan property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1360770
P21
Q290
USER
Which sex does Ernst von Bassermann-Jordan belong to ?
(Q1360770,P21,c(Q290))
action filter_type
action find
entity Q1360770
relation P21
type Q290
['Q1360770', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1360770 property:P21 ?y . ?y rdf:type ontology:Q290 }
Ernst von Bassermann-Jordan
action filter_type
action find
entity Ernst von Bassermann-Jordan
relation gender
type sex
['Ernst von Bassermann-Jordan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Ernst_von_Bassermann-Jordan property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1360770,P21,c(Q290))
action filter_type
action find
entity Q1360770
relation P21
type Q290
Ernst von Bassermann-Jordan belongs to [ANSWER]
['Q1360770', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1360770 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Ernst von Bassermann-Jordan belongs to male
male
action filter_type
action find
entity Ernst von Bassermann-Jordan
relation gender
type sex
['Ernst von Bassermann-Jordan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Ernst_von_Bassermann-Jordan property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1726
P190
Q515 Q56061
USER
How many cities and administrative territories are partner towns of Munich ?
(Q1726,P190,c(Q515)) (Q1726,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q1726
relation P190
type Q515
action filter_type
action find
entity Q1726
relation P190
type Q56061
['Q1726', 'P190', {'concept': 'Q515'}] ['Q1726', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { resource:Q1726 property:P190 ?t . ?t rdf:type ontology:Q515 } UNION { resource:Q1726 property:P190 ?t . ?t rdf:type ontology:Q56061 } }
Munich
action count
action union
action filter_type
action find
entity Munich
relation sister city
type city
action filter_type
action find
entity Munich
relation sister city
type administrative territorial entity
['Munich', 'sister city', {'concept': 'city'}] ['Munich', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { resource:Munich property:sister_city ?t . ?t rdf:type ontology:city } UNION { resource:Munich property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity } }
[]
city administrative territorial entity
SYSTEM
2 cities and 6 administrative territories
Q43196 Q48195 Q1899 Q23436 Q121157 Q3921 Q2028 Q1479
(Q1726,P190,c(Q515)) (Q1726,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q1726
relation P190
type Q515
action filter_type
action find
entity Q1726
relation P190
type Q56061
[ANSWER]
['Q1726', 'P190', {'concept': 'Q515'}] ['Q1726', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { resource:Q1726 property:P190 ?t . ?t rdf:type ontology:Q515 } UNION { resource:Q1726 property:P190 ?t . ?t rdf:type ontology:Q56061 } }
Cincinnati Basra Kyiv Edinburgh Mashhad Harare Verona Bordeaux
2 cities and 6 administrative territories
action count
action union
action filter_type
action find
entity Munich
relation sister city
type city
action filter_type
action find
entity Munich
relation sister city
type administrative territorial entity
['Munich', 'sister city', {'concept': 'city'}] ['Munich', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { resource:Munich property:sister_city ?t . ?t rdf:type ontology:city } UNION { resource:Munich property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1360770
P19
Q15617994
USER
Which administrative territory is the place of birth of Ernst von Bassermann-Jordan ?
(Q1360770,P19,c(Q15617994))
action filter_type
action find
entity Q1360770
relation P19
type Q15617994
['Q1360770', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1360770 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Ernst von Bassermann-Jordan
action filter_type
action find
entity Ernst von Bassermann-Jordan
relation place of birth
type designation for an administrative territorial entity
['Ernst von Bassermann-Jordan', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ernst_von_Bassermann-Jordan property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q22951
SYSTEM
Deidesheim
Q22951
(Q1360770,P19,c(Q15617994))
action filter_type
action find
entity Q1360770
relation P19
type Q15617994
[ANSWER] is the place of birth of Ernst von Bassermann-Jordan
['Q1360770', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1360770 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Deidesheim
Deidesheim is the place of birth of Ernst von Bassermann-Jordan
Deidesheim
action filter_type
action find
entity Ernst von Bassermann-Jordan
relation place of birth
type designation for an administrative territorial entity
['Ernst von Bassermann-Jordan', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ernst_von_Bassermann-Jordan property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22951
P17
Q1048835
USER
Which political territory is that administrative territory a part of ?
(Q22951,P17,c(Q1048835))
action filter_type
action find
entity Q22951
relation P17
type Q1048835
['Q22951', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q22951 property:P17 ?o }
Deidesheim
action filter_type
action find
entity Deidesheim
relation country
type political territorial entity
['Deidesheim', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Deidesheim property:country ?o }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q22951,P17,c(Q1048835))
action filter_type
action find
entity Q22951
relation P17
type Q1048835
[ANSWER] is that administrative territory a part of
['Q22951', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q22951 property:P17 ?o }
Germany
Germany is that administrative territory a part of
Germany
action filter_type
action find
entity Deidesheim
relation country
type political territorial entity
['Deidesheim', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Deidesheim property:country ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with approximately 4 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 4
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?p ) WHERE { ?q property:P530 ?i . ?q rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?q } . FILTER ( ?p = 4 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 4
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?p ) WHERE { ?q property:diplomatic_relation ?i . ?q rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?q } . FILTER ( ?p = 4 ) }
[]
political territorial entity political territorial entity
SYSTEM
5
Q40 Q183 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 4
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?p ) WHERE { ?q property:P530 ?i . ?q rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?q } . FILTER ( ?p = 4 ) }
Austria Germany Denmark Canada New Zealand
5
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 4
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?p ) WHERE { ?q property:diplomatic_relation ?i . ?q rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?q } . FILTER ( ?p = 4 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1900715 Q1360770
P47 P27
Q1048835
USER
Which political territories are Ernst von Bassermann-Jordan a civilian of or share border with Portell de Morella ?
OR((Q1360770,P27,c(Q1048835)), (Q1900715,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1360770
relation P27
action find
entity Q1900715
relation P47
type Q1048835
{'OR': [['Q1360770', 'P27', {'concept': 'Q1048835'}], ['Q1900715', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1360770 property:P27 ?v } UNION { resource:Q1900715 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Portell de Morella Ernst von Bassermann-Jordan
action filter_type
action union
action find
entity Ernst von Bassermann-Jordan
relation country of citizenship
action find
entity Portell de Morella
relation shares border with
type political territorial entity
{'OR': [['Ernst von Bassermann-Jordan', 'country of citizenship', {'concept': 'political territorial entity'}], ['Portell de Morella', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Ernst_von_Bassermann-Jordan property:country_of_citizenship ?v } UNION { resource:Portell_de_Morella property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1778143 Q183 Q1646167 Q537017
SYSTEM
Castellfort, Germany, Cinctorres, Vilafranca
Q1778143 Q183 Q1646167 Q537017
OR((Q1360770,P27,c(Q1048835)), (Q1900715,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1360770
relation P27
action find
entity Q1900715
relation P47
type Q1048835
[ANSWERS] are Ernst von Bassermann-Jordan a civilian of or share border with Portell de Morella
{'OR': [['Q1360770', 'P27', {'concept': 'Q1048835'}], ['Q1900715', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1360770 property:P27 ?v } UNION { resource:Q1900715 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Castellfort Germany Cinctorres Vilafranca
Castellfort, Germany, Cinctorres and Vilafranca are Ernst von Bassermann-Jordan a civilian of or share border with Portell de Morella
Castellfort Germany Cinctorres Vilafranca
action filter_type
action union
action find
entity Ernst von Bassermann-Jordan
relation country of citizenship
action find
entity Portell de Morella
relation shares border with
type political territorial entity
{'OR': [['Ernst von Bassermann-Jordan', 'country of citizenship', {'concept': 'political territorial entity'}], ['Portell de Morella', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Ernst_von_Bassermann-Jordan property:country_of_citizenship ?v } UNION { resource:Portell_de_Morella property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1900715
P17
Q15617994
USER
How many administrative territories are Portell de Morella present in ?
(Q1900715,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1900715
relation P17
type Q15617994
['Q1900715', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q1900715 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Portell de Morella
action count
action filter_type
action find
entity Portell de Morella
relation country
type designation for an administrative territorial entity
['Portell de Morella', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Portell_de_Morella property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q1900715,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1900715
relation P17
type Q15617994
[ANSWER]
['Q1900715', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q1900715 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Portell de Morella
relation country
type designation for an administrative territorial entity
['Portell de Morella', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Portell_de_Morella property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]