Simple Question (Direct)
Simple Question
Q16199592
P21
Q290
USER
Which sex does Dumitru Bogdan belong to ?
(Q16199592,P21,c(Q290))
action filter_type
action find
entity Q16199592
relation P21
type Q290
['Q16199592', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q16199592 property:P21 ?s . ?s rdf:type ontology:Q290 }
Dumitru Bogdan
action filter_type
action find
entity Dumitru Bogdan
relation gender
type sex
['Dumitru Bogdan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Dumitru_Bogdan property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16199592,P21,c(Q290))
action filter_type
action find
entity Q16199592
relation P21
type Q290
Dumitru Bogdan belongs to [ANSWER]
['Q16199592', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q16199592 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Dumitru Bogdan belongs to male
male
action filter_type
action find
entity Dumitru Bogdan
relation gender
type sex
['Dumitru Bogdan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Dumitru_Bogdan property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16199592
P19
Q56061
USER
Which administrative territory was Dumitru Bogdan born in ?
(Q16199592,P19,c(Q56061))
action filter_type
action find
entity Q16199592
relation P19
type Q56061
['Q16199592', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q16199592 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Dumitru Bogdan
action filter_type
action find
entity Dumitru Bogdan
relation place of birth
type administrative territorial entity
['Dumitru Bogdan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Dumitru_Bogdan property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q21197
SYSTEM
Chișinău
Q21197
(Q16199592,P19,c(Q56061))
action filter_type
action find
entity Q16199592
relation P19
type Q56061
Dumitru Bogdan was born in [ANSWER]
['Q16199592', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q16199592 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Chișinău
Dumitru Bogdan was born in Chișinău
Chișinău
action filter_type
action find
entity Dumitru Bogdan
relation place of birth
type administrative territorial entity
['Dumitru Bogdan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Dumitru_Bogdan property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21197
P1001
Q12737077
USER
Which occupation has jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q21197)
action filter_type
action find_reverse
entity Q21197
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q21197']
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q21197 . ?p rdf:type ontology:Q12737077 }
Chișinău
action filter_type
action find_reverse
entity Chișinău
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Chișinău']
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Chișinău . ?p rdf:type ontology:occupation }
[]
occupation
Q25552854
SYSTEM
Mayor of Chișinău
Q25552854
(c(Q12737077),P1001,Q21197)
action filter_type
action find_reverse
entity Q21197
relation P1001
type Q12737077
[ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q21197']
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q21197 . ?p rdf:type ontology:Q12737077 }
Mayor of Chișinău
Mayor of Chișinău has jurisdiction over that administrative territory
Mayor of Chișinău
action filter_type
action find_reverse
entity Chișinău
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Chișinău']
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Chișinău . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21197
P190
Q56061
USER
How many administrative territories are twin cities of Chișinău ?
(Q21197,P190,c(Q56061))
action count
action filter_type
action find
entity Q21197
relation P190
type Q56061
['Q21197', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q21197 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Chișinău
action count
action filter_type
action find
entity Chișinău
relation sister city
type administrative territorial entity
['Chișinău', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Chișinău property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
11
Q13360 Q216 Q994 Q133123 Q33935 Q171639 Q2738432 Q1289 Q2280 Q1874 Q3640
(Q21197,P190,c(Q56061))
action count
action filter_type
action find
entity Q21197
relation P190
type Q56061
[ANSWER]
['Q21197', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q21197 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Reggio Emilia Vilnius Tbilisi Patras Tel Aviv Ashdod Hola Grenoble Minsk Odessa Ankara
11
action count
action filter_type
action find
entity Chișinău
relation sister city
type administrative territorial entity
['Chișinău', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Chișinău property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q573052
Q56061
USER
And how about Almdorf?
(Q573052,P190,c(Q56061))
action count
action filter_type
action find
entity Q573052
relation P190
type Q56061
['Q573052', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q573052 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Almdorf
action count
action filter_type
action find
entity Almdorf
relation sister city
type administrative territorial entity
['Almdorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Almdorf property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q573052,P190,c(Q56061))
action count
action filter_type
action find
entity Q573052
relation P190
type Q56061
[ANSWER]
['Q573052', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q573052 property:P190 ?x . ?x rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Almdorf
relation sister city
type administrative territorial entity
['Almdorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Almdorf property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q573052
P17
Q1048835
USER
Which political territory does that administrative territory belong to ?
action filter_type
action find
entity Q573052
relation P17
type Q1048835
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q573052 property:P17 ?f }
Almdorf
action filter_type
action find
entity Almdorf
relation country
type political territorial entity
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Almdorf property:country ?f }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
action filter_type
action find
entity Q573052
relation P17
type Q1048835
That administrative territory belongs to Federal [ANSWER]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q573052 property:P17 ?f }
Germany
That administrative territory belongs to Federal Germany
Germany
action filter_type
action find
entity Almdorf
relation country
type political territorial entity
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Almdorf property:country ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16902839 Q573052
P17
Q1048835
USER
Or Waitakaruru Arboretum?
OR((Q573052,P17,c(Q1048835)), (Q16902839,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q573052
relation P17
action find
entity Q16902839
relation P17
type Q1048835
{'OR': [['Q573052', 'P17', {'concept': 'Q1048835'}], ['Q16902839', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q573052 property:P17 ?h } UNION { resource:Q16902839 property:P17 ?h } } . ?h rdf:type ontology:Q1048835 }
Waitakaruru Arboretum Almdorf
action filter_type
action union
action find
entity Almdorf
relation country
action find
entity Waitakaruru Arboretum
relation country
type political territorial entity
{'OR': [['Almdorf', 'country', {'concept': 'political territorial entity'}], ['Waitakaruru Arboretum', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Almdorf property:country ?h } UNION { resource:Waitakaruru_Arboretum property:country ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q573052,P17,c(Q1048835)), (Q16902839,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q573052
relation P17
action find
entity Q16902839
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q573052', 'P17', {'concept': 'Q1048835'}], ['Q16902839', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q573052 property:P17 ?h } UNION { resource:Q16902839 property:P17 ?h } } . ?h rdf:type ontology:Q1048835 }
New Zealand Germany
New Zealand Germany
action filter_type
action union
action find
entity Almdorf
relation country
action find
entity Waitakaruru Arboretum
relation country
type political territorial entity
{'OR': [['Almdorf', 'country', {'concept': 'political territorial entity'}], ['Waitakaruru Arboretum', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Almdorf property:country ?h } UNION { resource:Waitakaruru_Arboretum property:country ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q664 Q183
P361
Q2221906
USER
Which geographic locations are New Zealand and Germany a part of ?
(Q664,P361,c(Q2221906)) (Q183,P361,c(Q2221906))
action union
action filter_type
action find
entity Q664
relation P361
type Q2221906
action filter_type
action find
entity Q183
relation P361
type Q2221906
['Q664', 'P361', {'concept': 'Q2221906'}] ['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { { resource:Q664 property:P361 ?a . ?a rdf:type ontology:Q2221906 } UNION { ?a rdf:type ontology:Q2221906 . resource:Q183 property:P361 ?a } }
New Zealand Germany
action union
action filter_type
action find
entity New Zealand
relation part of
type geographic location
action filter_type
action find
entity Germany
relation part of
type geographic location
['New Zealand', 'part of', {'concept': 'geographic location'}] ['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { { resource:New_Zealand property:part_of ?a . ?a rdf:type ontology:geographic_location } UNION { ?a rdf:type ontology:geographic_location . resource:Germany property:part_of ?a } }
[]
geographic location
Q45256 Q46 Q27509
SYSTEM
Australasia, Europe, Central Europe
Q45256 Q46 Q27509
(Q664,P361,c(Q2221906)) (Q183,P361,c(Q2221906))
action union
action filter_type
action find
entity Q664
relation P361
type Q2221906
action filter_type
action find
entity Q183
relation P361
type Q2221906
[ANSWERS] are New Zealand and Germany a part of
['Q664', 'P361', {'concept': 'Q2221906'}] ['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { { resource:Q664 property:P361 ?a . ?a rdf:type ontology:Q2221906 } UNION { ?a rdf:type ontology:Q2221906 . resource:Q183 property:P361 ?a } }
Australasia Europe Central Europe
Australasia, Europe and Central Europe are New Zealand and Germany a part of
Australasia Europe Central Europe
action union
action filter_type
action find
entity New Zealand
relation part of
type geographic location
action filter_type
action find
entity Germany
relation part of
type geographic location
['New Zealand', 'part of', {'concept': 'geographic location'}] ['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { { resource:New_Zealand property:part_of ?a . ?a rdf:type ontology:geographic_location } UNION { ?a rdf:type ontology:geographic_location . resource:Germany property:part_of ?a } }
[]