Simple Question (Direct)
Simple Question
Q4885603
P264
Q334453
USER
Which division sponsored the recording of Ben Ely ?
(Q4885603,P264,c(Q334453))
action filter_type
action find
entity Q4885603
relation P264
type Q334453
['Q4885603', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?o WHERE { resource:Q4885603 property:P264 ?o . ?o rdf:type ontology:Q334453 }
Ben Ely
action filter_type
action find
entity Ben Ely
relation record label
type division
['Ben Ely', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?o WHERE { resource:Ben_Ely property:record_label ?o . ?o rdf:type ontology:division }
[]
division
Q7912824
SYSTEM
Valve Records
Q7912824
(Q4885603,P264,c(Q334453))
action filter_type
action find
entity Q4885603
relation P264
type Q334453
The [ANSWER] sponsored the recording of Ben Ely
['Q4885603', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?o WHERE { resource:Q4885603 property:P264 ?o . ?o rdf:type ontology:Q334453 }
Valve Records
The Valve Records sponsored the recording of Ben Ely
Valve Records
action filter_type
action find
entity Ben Ely
relation record label
type division
['Ben Ely', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?o WHERE { resource:Ben_Ely property:record_label ?o . ?o rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7912824
P17
Q1048835
USER
Which political territory is that division a part of ?
(Q7912824,P17,c(Q1048835))
action filter_type
action find
entity Q7912824
relation P17
type Q1048835
['Q7912824', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q7912824 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Valve Records
action filter_type
action find
entity Valve Records
relation country
type political territorial entity
['Valve Records', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Valve_Records property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q7912824,P17,c(Q1048835))
action filter_type
action find
entity Q7912824
relation P17
type Q1048835
[ANSWER] is that division a part of
['Q7912824', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q7912824 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Australia
Australia is that division a part of
Australia
action filter_type
action find
entity Valve Records
relation country
type political territorial entity
['Valve Records', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Valve_Records property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1015835
Q1048835
USER
And also tell me about Burgstall Luckenpaint?
(Q1015835,P17,c(Q1048835))
action filter_type
action find
entity Q1015835
relation P17
type Q1048835
['Q1015835', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1015835 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Burgstall Luckenpaint
action filter_type
action find
entity Burgstall Luckenpaint
relation country
type political territorial entity
['Burgstall Luckenpaint', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Burgstall_Luckenpaint property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1015835,P17,c(Q1048835))
action filter_type
action find
entity Q1015835
relation P17
type Q1048835
[ANSWER]
['Q1015835', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1015835 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Burgstall Luckenpaint
relation country
type political territorial entity
['Burgstall Luckenpaint', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Burgstall_Luckenpaint property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q229 Q1029
P530
Q15617994
USER
Does Germany have diplomatic relations with Cyprus and Mozambique ?
(Q183,P530,Q229) (Q183,P530,Q1029)
action is_in
entity Q183
action intersection
action find_reverse
entity Q229
relation P530
action find_reverse
entity Q1029
relation P530
['Q183', 'P530', 'Q229'] ['Q183', 'P530', 'Q1029']
ASK WHERE { resource:Q183 property:P530 resource:Q229 . resource:Q183 property:P530 resource:Q1029 }
Germany Cyprus Mozambique
action is_in
entity Germany
action intersection
action find_reverse
entity Cyprus
relation diplomatic relation
action find_reverse
entity Mozambique
relation diplomatic relation
['Germany', 'diplomatic relation', 'Cyprus'] ['Germany', 'diplomatic relation', 'Mozambique']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Cyprus . resource:Germany property:diplomatic_relation resource:Mozambique }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q229) (Q183,P530,Q1029)
action is_in
entity Q183
action intersection
action find_reverse
entity Q229
relation P530
action find_reverse
entity Q1029
relation P530
[ANSWER]
['Q183', 'P530', 'Q229'] ['Q183', 'P530', 'Q1029']
ASK WHERE { resource:Q183 property:P530 resource:Q229 . resource:Q183 property:P530 resource:Q1029 }
Yes
action is_in
entity Germany
action intersection
action find_reverse
entity Cyprus
relation diplomatic relation
action find_reverse
entity Mozambique
relation diplomatic relation
['Germany', 'diplomatic relation', 'Cyprus'] ['Germany', 'diplomatic relation', 'Mozambique']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Cyprus . resource:Germany property:diplomatic_relation resource:Mozambique }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P30
Q2221906
USER
Which geographic location is that political territory located in ?
action filter_type
action find
entity Q183
relation P30
type Q2221906
SELECT DISTINCT ?v WHERE { resource:Q183 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Germany
action filter_type
action find
entity Germany
relation continent
type geographic location
SELECT DISTINCT ?v WHERE { resource:Germany property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
action filter_type
action find
entity Q183
relation P30
type Q2221906
That political territory is located in [ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q183 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Europe
That political territory is located in Europe
Europe
action filter_type
action find
entity Germany
relation continent
type geographic location
SELECT DISTINCT ?v WHERE { resource:Germany property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P495
Q3099911 Q811430
USER
How many scientific instruments or constructions are Germany a country of origin of ?
(c(Q3099911),P495,Q183) (c(Q811430),P495,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P495
type Q3099911
action filter_type
action find_reverse
entity Q183
relation P495
type Q811430
[{'concept': 'Q3099911'}, 'P495', 'Q183'] [{'concept': 'Q811430'}, 'P495', 'Q183']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3099911 ) ( ontology:Q811430 ) } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation country of origin
type scientific instrument
action filter_type
action find_reverse
entity Germany
relation country of origin
type construction
[{'concept': 'scientific instrument'}, 'country of origin', 'Germany'] [{'concept': 'construction'}, 'country of origin', 'Germany']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:scientific_instrument ) ( ontology:construction ) } }
[]
scientific instrument construction
SYSTEM
2
Q1798028 Q600939
(c(Q3099911),P495,Q183) (c(Q811430),P495,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P495
type Q3099911
action filter_type
action find_reverse
entity Q183
relation P495
type Q811430
[ANSWER]
[{'concept': 'Q3099911'}, 'P495', 'Q183'] [{'concept': 'Q811430'}, 'P495', 'Q183']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3099911 ) ( ontology:Q811430 ) } }
LETGS Deutsches Nationaltheater and Staatskapelle Weimar
2
action count
action union
action filter_type
action find_reverse
entity Germany
relation country of origin
type scientific instrument
action filter_type
action find_reverse
entity Germany
relation country of origin
type construction
[{'concept': 'scientific instrument'}, 'country of origin', 'Germany'] [{'concept': 'construction'}, 'country of origin', 'Germany']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:scientific_instrument ) ( ontology:construction ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q7912824
P264 P21
Q502895
USER
Which people have Valve Records as their record label and have male as the sex ?
AND((c(Q502895),P264,Q7912824), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7912824
relation P264
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P264', 'Q7912824'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P264 resource:Q7912824 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male Valve Records
action filter_type
action intersection
action find_reverse
entity Valve Records
relation record label
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'record label', 'Valve Records'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:record_label resource:Valve_Records . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q7268830 Q4885603
SYSTEM
Quan Yeomans, Ben Ely
Q7268830 Q4885603
AND((c(Q502895),P264,Q7912824), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7912824
relation P264
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Valve Records as their record label and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P264', 'Q7912824'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P264 resource:Q7912824 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
Quan Yeomans Ben Ely
Quan Yeomans and Ben Ely have Valve Records as their record label and have male as the sex
Quan Yeomans Ben Ely
action filter_type
action intersection
action find_reverse
entity Valve Records
relation record label
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'record label', 'Valve Records'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:record_label resource:Valve_Records . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]