Simple Question (Direct)
Simple Question
Q3056859
P495
Q15617994
USER
What is the origin of Ernest Bourget ?
(Q3056859,P495,c(Q15617994))
action filter_type
action find
entity Q3056859
relation P495
type Q15617994
['Q3056859', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3056859 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
Ernest Bourget
action filter_type
action find
entity Ernest Bourget
relation country of origin
type designation for an administrative territorial entity
['Ernest Bourget', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ernest_Bourget property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3056859,P495,c(Q15617994))
action filter_type
action find
entity Q3056859
relation P495
type Q15617994
The origin of Ernest Bourget is in [ANSWER]
['Q3056859', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3056859 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
France
The origin of Ernest Bourget is in France
France
action filter_type
action find
entity Ernest Bourget
relation country of origin
type designation for an administrative territorial entity
['Ernest Bourget', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ernest_Bourget property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3056859
P21
Q290
USER
Which sex does that person possess ?
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3056859
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3056859 property:P21 ?a . ?a rdf:type ontology:Q290 }
Ernest Bourget
action filter_type
action find
entity Ernest Bourget
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ernest_Bourget property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3056859
relation P21
type Q290
That person possesses a [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3056859 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ernest Bourget
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ernest_Bourget property:gender ?a . ?a rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6190932 Q142
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with France or are Jhargram subdivision situated in ?
OR((Q142,P530,c(Q15617994)), (Q6190932,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q6190932
relation P17
type Q15617994
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q6190932', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6190932 property:P17 ?p } UNION { resource:Q142 property:P530 ?p } } . ?p rdf:type ontology:Q15617994 }
Jhargram subdivision France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Jhargram subdivision
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jhargram subdivision', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jhargram_subdivision property:country ?p } UNION { resource:France property:diplomatic_relation ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q1011 Q403 Q668 Q711 Q399 Q32 Q155 Q228 Q801
SYSTEM
Some of them are Russia, Cape Verde, Serbia, India, Mongolia, Armenia, Luxembourg, Brazil, Andorra, Israel
Q711 Q159 Q222 Q801 Q145 Q155 Q27 Q1011 Q228 Q32 Q17 Q30 Q399 Q668 Q403 Q38
OR((Q142,P530,c(Q15617994)), (Q6190932,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q6190932
relation P17
type Q15617994
[ANSWERS] have diplomatic relations with France or are Jhargram subdivision situated in
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q6190932', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6190932 property:P17 ?p } UNION { resource:Q142 property:P530 ?p } } . ?p rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Ireland Cape Verde Andorra Luxembourg Japan United States of America Armenia India Serbia Italy
Russia, Cape Verde, Serbia, India, Mongolia, Armenia, Luxembourg, Brazil, Andorra and Israel have diplomatic relations with France or are Jhargram subdivision situated in
Russia Cape Verde Serbia India Mongolia Armenia Luxembourg Brazil Andorra Israel
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Jhargram subdivision
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jhargram subdivision', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jhargram_subdivision property:country ?p } UNION { resource:France property:diplomatic_relation ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q183
P530
Q1048835
USER
How many political territories have a diplomatic relationship with Russia and Germany ?
(Q159,P530,c(Q1048835)) (Q183,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q159
relation P530
type Q1048835
action filter_type
action find
entity Q183
relation P530
type Q1048835
['Q159', 'P530', {'concept': 'Q1048835'}] ['Q183', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Q183 property:P530 ?l . ?l rdf:type ontology:Q1048835 . resource:Q159 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Russia Germany
action count
action intersection
action filter_type
action find
entity Russia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Germany property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity . resource:Russia property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q16 Q408
(Q159,P530,c(Q1048835)) (Q183,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q159
relation P530
type Q1048835
action filter_type
action find
entity Q183
relation P530
type Q1048835
[ANSWER]
['Q159', 'P530', {'concept': 'Q1048835'}] ['Q183', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Q183 property:P530 ?l . ?l rdf:type ontology:Q1048835 . resource:Q159 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Canada Australia
2
action count
action intersection
action filter_type
action find
entity Russia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Germany property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity . resource:Russia property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P127
Q820655
USER
Which statute belongs to India ?
(c(Q820655),P127,Q668)
action filter_type
action find_reverse
entity Q668
relation P127
type Q820655
[{'concept': 'Q820655'}, 'P127', 'Q668']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q820655 . ?e property:P127 resource:Q668 }
India
action filter_type
action find_reverse
entity India
relation owned by
type statute
[{'concept': 'statute'}, 'owned by', 'India']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:statute . ?e property:owned_by resource:India }
[]
statute
Q20652607
SYSTEM
India-Bangladesh boundary treaty of 2015
Q20652607
(c(Q820655),P127,Q668)
action filter_type
action find_reverse
entity Q668
relation P127
type Q820655
[ANSWER] belongs to India
[{'concept': 'Q820655'}, 'P127', 'Q668']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q820655 . ?e property:P127 resource:Q668 }
India-Bangladesh boundary treaty of 2015
India-Bangladesh boundary treaty of 2015 belongs to India
India-Bangladesh boundary treaty of 2015
action filter_type
action find_reverse
entity India
relation owned by
type statute
[{'concept': 'statute'}, 'owned by', 'India']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:statute . ?e property:owned_by resource:India }
[]