Simple Question (Direct)
Simple Question
Q6258643
P19
Q532
USER
Which village is the birthplace of John Spencer ?
(Q6258643,P19,c(Q532))
action filter_type
action find
entity Q6258643
relation P19
type Q532
['Q6258643', 'P19', {'concept': 'Q532'}]
SELECT DISTINCT ?b WHERE { resource:Q6258643 property:P19 ?b . ?b rdf:type ontology:Q532 }
John Spencer
action filter_type
action find
entity John Spencer
relation place of birth
type village
['John Spencer', 'place of birth', {'concept': 'village'}]
SELECT DISTINCT ?b WHERE { resource:John_Spencer property:place_of_birth ?b . ?b rdf:type ontology:village }
[]
village
Q2339724
SYSTEM
Grassington
Q2339724
(Q6258643,P19,c(Q532))
action filter_type
action find
entity Q6258643
relation P19
type Q532
Is [ANSWER] is the birthplace of John Spencer
['Q6258643', 'P19', {'concept': 'Q532'}]
SELECT DISTINCT ?b WHERE { resource:Q6258643 property:P19 ?b . ?b rdf:type ontology:Q532 }
Grassington
Is Grassington is the birthplace of John Spencer
Grassington
action filter_type
action find
entity John Spencer
relation place of birth
type village
['John Spencer', 'place of birth', {'concept': 'village'}]
SELECT DISTINCT ?b WHERE { resource:John_Spencer property:place_of_birth ?b . ?b rdf:type ontology:village }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2339724
P17
Q15617994
USER
Which administrative territory is that village located in ?
(Q2339724,P17,c(Q15617994))
action filter_type
action find
entity Q2339724
relation P17
type Q15617994
['Q2339724', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2339724 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Grassington
action filter_type
action find
entity Grassington
relation country
type designation for an administrative territorial entity
['Grassington', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Grassington property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2339724,P17,c(Q15617994))
action filter_type
action find
entity Q2339724
relation P17
type Q15617994
That village is located in [ANSWER]
['Q2339724', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2339724 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
That village is located in United Kingdom
United Kingdom
action filter_type
action find
entity Grassington
relation country
type designation for an administrative territorial entity
['Grassington', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Grassington property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3167168 Q2339724
P27 P17
Q15617994
USER
Which administrative territories do Grassington belong to or do Jean-Luc Herman belong to ?
OR((Q2339724,P17,c(Q15617994)), (Q3167168,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2339724
relation P17
action find
entity Q3167168
relation P27
type Q15617994
{'OR': [['Q2339724', 'P17', {'concept': 'Q15617994'}], ['Q3167168', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2339724 property:P17 ?m } UNION { resource:Q3167168 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Jean-Luc Herman Grassington
action filter_type
action union
action find
entity Grassington
relation country
action find
entity Jean-Luc Herman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Grassington', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jean-Luc Herman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Grassington property:country ?m } UNION { resource:Jean-Luc_Herman property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q145
SYSTEM
Belgium, United Kingdom
Q31 Q145
OR((Q2339724,P17,c(Q15617994)), (Q3167168,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2339724
relation P17
action find
entity Q3167168
relation P27
type Q15617994
Grassington belong to [ANSWERS]
{'OR': [['Q2339724', 'P17', {'concept': 'Q15617994'}], ['Q3167168', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2339724 property:P17 ?m } UNION { resource:Q3167168 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Belgium United Kingdom
Grassington belong to Belgium and United Kingdom
Belgium United Kingdom
action filter_type
action union
action find
entity Grassington
relation country
action find
entity Jean-Luc Herman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Grassington', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jean-Luc Herman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Grassington property:country ?m } UNION { resource:Jean-Luc_Herman property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q10429157
P495
Q1001378
USER
Are those administrative territories a country of origin of Beyond Beyond ?
(Q10429157,P495,Q31) (Q10429157,P495,Q145)
action is_in
entity prev_answer
action find
entity Q10429157
relation P495
['Q10429157', 'P495', 'Q31'] ['Q10429157', 'P495', 'Q145']
ASK WHERE { resource:Q10429157 property:P495 ?c . VALUES ( ?c ) { ( resource:Q31 ) ( resource:Q145 ) } }
Beyond Beyond
action is_in
entity prev_answer
action find
entity Beyond Beyond
relation country of origin
['Beyond Beyond', 'country of origin', 'Belgium'] ['Beyond Beyond', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Beyond_Beyond property:country_of_origin ?c . VALUES ( ?c ) { ( resource:Belgium ) ( resource:United_Kingdom ) } }
[]
cinematic technique
SYSTEM
NO
(Q10429157,P495,Q31) (Q10429157,P495,Q145)
action is_in
entity prev_answer
action find
entity Q10429157
relation P495
[ANSWER]
['Q10429157', 'P495', 'Q31'] ['Q10429157', 'P495', 'Q145']
ASK WHERE { resource:Q10429157 property:P495 ?c . VALUES ( ?c ) { ( resource:Q31 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Beyond Beyond
relation country of origin
['Beyond Beyond', 'country of origin', 'Belgium'] ['Beyond Beyond', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Beyond_Beyond property:country_of_origin ?c . VALUES ( ?c ) { ( resource:Belgium ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q2342494 Q838948
USER
Which administrative territories are demonstrated in approximately 1 collectables and works of art ?
(c(Q2342494)|c(Q838948),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?v WHERE { VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?b rdf:type ?q } GROUP BY ?v } . FILTER ( ?g = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?v WHERE { VALUES ( ?q ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?b rdf:type ?q } GROUP BY ?v } . FILTER ( ?g = 1 ) }
[]
designation for an administrative territorial entity collectable work of art
Q1011 Q79 Q298
SYSTEM
Cape Verde, Egypt, Chile
Q1028 Q298 Q79 Q1011 Q913434
(c(Q2342494)|c(Q838948),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[ANSWERS] are demonstrated in approximately 1 collectables and works of art
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?v WHERE { VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?b rdf:type ?q } GROUP BY ?v } . FILTER ( ?g = 1 ) }
Morocco Chile Egypt Cape Verde Les Halles
Cape Verde, Egypt and Chile are demonstrated in approximately 1 collectables and works of art
Cape Verde Egypt Chile
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?v WHERE { VALUES ( ?q ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?b rdf:type ?q } GROUP BY ?v } . FILTER ( ?g = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with approximately 23 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 23
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?u ) WHERE { ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 . ?z property:P530 ?y } GROUP BY ?z } . FILTER ( ?u = 23 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 23
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?u ) WHERE { ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?y } GROUP BY ?z } . FILTER ( ?u = 23 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 23
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?u ) WHERE { ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 . ?z property:P530 ?y } GROUP BY ?z } . FILTER ( ?u = 23 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 23
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?u ) WHERE { ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?y } GROUP BY ?z } . FILTER ( ?u = 23 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P915
Q838948 Q15416
USER
How many works of art and television programs were filmed at United Kingdom ?
(c(Q838948),P915,Q145) (c(Q15416),P915,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P915
type Q838948
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
[{'concept': 'Q838948'}, 'P915', 'Q145'] [{'concept': 'Q15416'}, 'P915', 'Q145']
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ontology:Q838948 . ?w property:P915 resource:Q145 } UNION { ?w property:P915 resource:Q145 . ?w rdf:type ontology:Q15416 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type work of art
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'United Kingdom'] [{'concept': 'television program'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ontology:work_of_art . ?w property:filming_location resource:United_Kingdom } UNION { ?w property:filming_location resource:United_Kingdom . ?w rdf:type ontology:television_program } }
[]
work of art television program
SYSTEM
1 works of art and 1 television programs
Q15631013 Q21427546
(c(Q838948),P915,Q145) (c(Q15416),P915,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P915
type Q838948
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q145'] [{'concept': 'Q15416'}, 'P915', 'Q145']
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ontology:Q838948 . ?w property:P915 resource:Q145 } UNION { ?w property:P915 resource:Q145 . ?w rdf:type ontology:Q15416 } }
Everest Hunted
1 works of art and 1 television programs
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type work of art
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'United Kingdom'] [{'concept': 'television program'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ontology:work_of_art . ?w property:filming_location resource:United_Kingdom } UNION { ?w property:filming_location resource:United_Kingdom . ?w rdf:type ontology:television_program } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79
P610
Q14524493
USER
Which is the zenith of Egypt ?
(Q79,P610,c(Q14524493))
action filter_type
action find
entity Q79
relation P610
type Q14524493
['Q79', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?m WHERE { resource:Q79 property:P610 ?m . ?m rdf:type ontology:Q14524493 }
Egypt
action filter_type
action find
entity Egypt
relation highest point
type terrain
['Egypt', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?m WHERE { resource:Egypt property:highest_point ?m . ?m rdf:type ontology:terrain }
[]
terrain
Q1140642
SYSTEM
Mount Catherine
Q1140642
(Q79,P610,c(Q14524493))
action filter_type
action find
entity Q79
relation P610
type Q14524493
The zenith of Egypt is [ANSWER]
['Q79', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?m WHERE { resource:Q79 property:P610 ?m . ?m rdf:type ontology:Q14524493 }
Mount Catherine
The zenith of Egypt is Mount Catherine
Mount Catherine
action filter_type
action find
entity Egypt
relation highest point
type terrain
['Egypt', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?m WHERE { resource:Egypt property:highest_point ?m . ?m rdf:type ontology:terrain }
[]