Simple Question (Direct)
Simple Question
Q7773100
P495
Q15617994
USER
Which administrative territory is the country of origin of The Vortex ?
(Q7773100,P495,c(Q15617994))
action filter_type
action find
entity Q7773100
relation P495
type Q15617994
['Q7773100', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7773100 property:P495 ?a . ?a rdf:type ontology:Q15617994 }
The Vortex
action filter_type
action find
entity The Vortex
relation country of origin
type designation for an administrative territorial entity
['The Vortex', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:The_Vortex property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7773100,P495,c(Q15617994))
action filter_type
action find
entity Q7773100
relation P495
type Q15617994
[ANSWER] is the country of origin of The Vortex
['Q7773100', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7773100 property:P495 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of origin of The Vortex
United Kingdom
action filter_type
action find
entity The Vortex
relation country of origin
type designation for an administrative territorial entity
['The Vortex', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:The_Vortex property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7773100
P364
Q34770
USER
Which language was used originally for the creation of The Vortex ?
(Q7773100,P364,c(Q34770))
action filter_type
action find
entity Q7773100
relation P364
type Q34770
['Q7773100', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q7773100 property:P364 ?b . ?b rdf:type ontology:Q34770 }
The Vortex
action filter_type
action find
entity The Vortex
relation original language of work
type language
['The Vortex', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:The_Vortex property:original_language_of_work ?b . ?b rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7773100,P364,c(Q34770))
action filter_type
action find
entity Q7773100
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Vortex
['Q7773100', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q7773100 property:P364 ?b . ?b rdf:type ontology:Q34770 }
English
In English was used originally for the creation of The Vortex
English
action filter_type
action find
entity The Vortex
relation original language of work
type language
['The Vortex', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:The_Vortex property:original_language_of_work ?b . ?b rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P282
Q9779 Q34770
USER
Which alphabets are utilized as the script for min number of languages ?
(c(Q34770),P282,Q83942)
action argmin
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q83942']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?t ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P282 ?u . ?u rdf:type ontology:Q9779 . ?i rdf:type ontology:Q34770 } GROUP BY ?u } } . { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P282 ?z . ?z rdf:type ontology:Q9779 . ?j rdf:type ontology:Q34770 } GROUP BY ?z } . FILTER ( ?x = ?t ) }
action argmin
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
[{'concept': 'language'}, 'writing system', 'Jawi alphabet']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?t ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:writing_system ?u . ?u rdf:type ontology:alphabet . ?i rdf:type ontology:language } GROUP BY ?u } } . { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:writing_system ?z . ?z rdf:type ontology:alphabet . ?j rdf:type ontology:language } GROUP BY ?z } . FILTER ( ?x = ?t ) }
[]
alphabet language
Q792216 Q13405127 Q540987
SYSTEM
Belarusian alphabet, Rusyn alphabet, Portuguese alphabet
Q164436 Q754989 Q792216 Q606972 Q187846 Q13405127 Q1937113 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,Q83942)
action argmin
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
[ANSWERS] are utilized as the script for min number of languages
[{'concept': 'Q34770'}, 'P282', 'Q83942']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?t ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P282 ?u . ?u rdf:type ontology:Q9779 . ?i rdf:type ontology:Q34770 } GROUP BY ?u } } . { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P282 ?z . ?z rdf:type ontology:Q9779 . ?j rdf:type ontology:Q34770 } GROUP BY ?z } . FILTER ( ?x = ?t ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Rusyn alphabet futhark Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
Belarusian alphabet, Rusyn alphabet and Portuguese alphabet are utilized as the script for min number of languages
Belarusian alphabet Rusyn alphabet Portuguese alphabet
action argmin
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
[{'concept': 'language'}, 'writing system', 'Jawi alphabet']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?t ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:writing_system ?u . ?u rdf:type ontology:alphabet . ?i rdf:type ontology:language } GROUP BY ?u } } . { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:writing_system ?z . ?z rdf:type ontology:alphabet . ?j rdf:type ontology:language } GROUP BY ?z } . FILTER ( ?x = ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q6619679 Q95074
USER
Which works of art are exactly 15 fictional humanoids and fictional characters shown in ?
(c(Q6619679)|c(Q95074),P1441,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 15
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) ?r WHERE { { ?i property:P1441 ?r . ?r rdf:type ontology:Q838948 . ?i rdf:type ontology:Q6619679 } UNION { ?i property:P1441 ?r . ?r rdf:type ontology:Q838948 . ?i rdf:type ontology:Q95074 } } GROUP BY ?r } . FILTER ( ?c = 15 ) }
action equal
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 15
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) ?r WHERE { { ?i property:present_in_work ?r . ?r rdf:type ontology:work_of_art . ?i rdf:type ontology:fictional_humanoid } UNION { ?i property:present_in_work ?r . ?r rdf:type ontology:work_of_art . ?i rdf:type ontology:fictional_character } } GROUP BY ?r } . FILTER ( ?c = 15 ) }
[]
work of art fictional humanoid fictional character
Q212145 Q107914 Q18602670
SYSTEM
The World Is Not Enough, Diamonds Are Forever, Spectre
Q212145 Q107914 Q18602670
(c(Q6619679)|c(Q95074),P1441,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 15
The World is Not Enough, Diamonds Are Forever and Spectre are exactly 15 fictional humanoids and fictional characters shown in
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) ?r WHERE { { ?i property:P1441 ?r . ?r rdf:type ontology:Q838948 . ?i rdf:type ontology:Q6619679 } UNION { ?i property:P1441 ?r . ?r rdf:type ontology:Q838948 . ?i rdf:type ontology:Q95074 } } GROUP BY ?r } . FILTER ( ?c = 15 ) }
The World Is Not Enough Diamonds Are Forever Spectre
The World is Not Enough, Diamonds Are Forever and Spectre are exactly 15 fictional humanoids and fictional characters shown in
The World Is Not Enough Diamonds Are Forever Spectre
action equal
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 15
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) ?r WHERE { { ?i property:present_in_work ?r . ?r rdf:type ontology:work_of_art . ?i rdf:type ontology:fictional_humanoid } UNION { ?i property:present_in_work ?r . ?r rdf:type ontology:work_of_art . ?i rdf:type ontology:fictional_character } } GROUP BY ?r } . FILTER ( ?c = 15 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q465478
P941
Q838948 Q2342494 Q11424
USER
How many works of art were the sources of inspiration for greater number of collectables and films than Star Trek II: The Wrath of Khan ?
(c(Q2342494)|c(Q11424),P941,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q465478
relation P941
type Q2342494
type Q11424
[[{'concept': 'Q2342494'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:P941 ?i . ?j rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q838948 } UNION { ?j property:P941 ?i . ?i rdf:type ontology:Q838948 . ?j rdf:type ontology:Q11424 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P941 resource:Q465478 . { VALUES ( ?n ) { ( ontology:Q11424 ) ( ontology:Q2342494 ) } . ?q rdf:type ?n } } } . FILTER ( ?o > ?m ) }
Star Trek II: The Wrath of Khan
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Star Trek II: The Wrath of Khan
relation inspired by
type collectable
type film
[[{'concept': 'collectable'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:inspired_by ?i . ?j rdf:type ontology:collectable . ?i rdf:type ontology:work_of_art } UNION { ?j property:inspired_by ?i . ?i rdf:type ontology:work_of_art . ?j rdf:type ontology:film } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:inspired_by resource:Star_Trek_II:_The_Wrath_of_Khan . { VALUES ( ?n ) { ( ontology:film ) ( ontology:collectable ) } . ?q rdf:type ?n } } } . FILTER ( ?o > ?m ) }
[]
work of art collectable film
SYSTEM
4
Q1217787 Q19560629 Q41567 Q83186
(c(Q2342494)|c(Q11424),P941,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q465478
relation P941
type Q2342494
type Q11424
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:P941 ?i . ?j rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q838948 } UNION { ?j property:P941 ?i . ?i rdf:type ontology:Q838948 . ?j rdf:type ontology:Q11424 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P941 resource:Q465478 . { VALUES ( ?n ) { ( ontology:Q11424 ) ( ontology:Q2342494 ) } . ?q rdf:type ?n } } } . FILTER ( ?o > ?m ) }
The Time Machine 9/11 entschlüsselt Hamlet Romeo and Juliet
4
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Star Trek II: The Wrath of Khan
relation inspired by
type collectable
type film
[[{'concept': 'collectable'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:inspired_by ?i . ?j rdf:type ontology:collectable . ?i rdf:type ontology:work_of_art } UNION { ?j property:inspired_by ?i . ?i rdf:type ontology:work_of_art . ?j rdf:type ontology:film } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:inspired_by resource:Star_Trek_II:_The_Wrath_of_Khan . { VALUES ( ?n ) { ( ontology:film ) ( ontology:collectable ) } . ?q rdf:type ?n } } } . FILTER ( ?o > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q734834
P941
Q838948 Q2342494 Q11424
USER
And how about Ghent Altarpiece?
(c(Q2342494)|c(Q11424),P941,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q734834
relation P941
type Q2342494
type Q11424
[[{'concept': 'Q2342494'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P941 resource:Q734834 . { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q11424 ) } . ?m rdf:type ?x } } } . FILTER ( ?e > ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:P941 ?a . ?h rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q838948 } UNION { ?h property:P941 ?a . ?a rdf:type ontology:Q838948 . ?h rdf:type ontology:Q11424 } } GROUP BY ?a } }
Ghent Altarpiece
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Ghent Altarpiece
relation inspired by
type collectable
type film
[[{'concept': 'collectable'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:inspired_by resource:Ghent_Altarpiece . { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:film ) } . ?m rdf:type ?x } } } . FILTER ( ?e > ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:inspired_by ?a . ?h rdf:type ontology:collectable . ?a rdf:type ontology:work_of_art } UNION { ?h property:inspired_by ?a . ?a rdf:type ontology:work_of_art . ?h rdf:type ontology:film } } GROUP BY ?a } }
[]
work of art collectable film
SYSTEM
4
Q1217787 Q19560629 Q41567 Q83186
(c(Q2342494)|c(Q11424),P941,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q734834
relation P941
type Q2342494
type Q11424
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P941 resource:Q734834 . { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q11424 ) } . ?m rdf:type ?x } } } . FILTER ( ?e > ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:P941 ?a . ?h rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q838948 } UNION { ?h property:P941 ?a . ?a rdf:type ontology:Q838948 . ?h rdf:type ontology:Q11424 } } GROUP BY ?a } }
The Time Machine 9/11 entschlüsselt Hamlet Romeo and Juliet
4
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Ghent Altarpiece
relation inspired by
type collectable
type film
[[{'concept': 'collectable'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:inspired_by resource:Ghent_Altarpiece . { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:film ) } . ?m rdf:type ?x } } } . FILTER ( ?e > ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:inspired_by ?a . ?h rdf:type ontology:collectable . ?a rdf:type ontology:work_of_art } UNION { ?h property:inspired_by ?a . ?a rdf:type ontology:work_of_art . ?h rdf:type ontology:film } } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q503508 Q734834
P20 P17
Q15617994
USER
Which administrative territories are Ghent Altarpiece situated in or did Fernando Cerchio die ?
OR((Q734834,P17,c(Q15617994)), (Q503508,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q734834
relation P17
action find
entity Q503508
relation P20
type Q15617994
{'OR': [['Q734834', 'P17', {'concept': 'Q15617994'}], ['Q503508', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q734834 property:P17 ?s } UNION { resource:Q503508 property:P20 ?s } } . ?s rdf:type ontology:Q15617994 }
Fernando Cerchio Ghent Altarpiece
action filter_type
action union
action find
entity Ghent Altarpiece
relation country
action find
entity Fernando Cerchio
relation place of death
type designation for an administrative territorial entity
{'OR': [['Ghent Altarpiece', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fernando Cerchio', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Ghent_Altarpiece property:country ?s } UNION { resource:Fernando_Cerchio property:place_of_death ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q242942
SYSTEM
Belgium, Mentana
Q31 Q242942
OR((Q734834,P17,c(Q15617994)), (Q503508,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q734834
relation P17
action find
entity Q503508
relation P20
type Q15617994
Ghent Altarpiece are situated die in [ANSWERS]
{'OR': [['Q734834', 'P17', {'concept': 'Q15617994'}], ['Q503508', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q734834 property:P17 ?s } UNION { resource:Q503508 property:P20 ?s } } . ?s rdf:type ontology:Q15617994 }
Belgium Mentana
Ghent Altarpiece are situated die in Belgium and Mentana
Belgium Mentana
action filter_type
action union
action find
entity Ghent Altarpiece
relation country
action find
entity Fernando Cerchio
relation place of death
type designation for an administrative territorial entity
{'OR': [['Ghent Altarpiece', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fernando Cerchio', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Ghent_Altarpiece property:country ?s } UNION { resource:Fernando_Cerchio property:place_of_death ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q242942
P47
Q56061 Q15617994
USER
How many administrative territories or administrative territories are bordered by Mentana ?
(c(Q56061),P47,Q242942) (c(Q15617994),P47,Q242942)
action count
action union
action filter_type
action find_reverse
entity Q242942
relation P47
type Q56061
action filter_type
action find_reverse
entity Q242942
relation P47
type Q15617994
[{'concept': 'Q56061'}, 'P47', 'Q242942'] [{'concept': 'Q15617994'}, 'P47', 'Q242942']
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { ?o property:P47 resource:Q242942 . ?o rdf:type ontology:Q56061 } UNION { ?o property:P47 resource:Q242942 . ?o rdf:type ontology:Q15617994 } }
Mentana
action count
action union
action filter_type
action find_reverse
entity Mentana
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Mentana
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Mentana'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Mentana']
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { ?o property:shares_border_with resource:Mentana . ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o property:shares_border_with resource:Mentana . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
5
Q242998 Q243408 Q243143 Q242637 Q220
(c(Q56061),P47,Q242942) (c(Q15617994),P47,Q242942)
action count
action union
action filter_type
action find_reverse
entity Q242942
relation P47
type Q56061
action filter_type
action find_reverse
entity Q242942
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q242942'] [{'concept': 'Q15617994'}, 'P47', 'Q242942']
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { ?o property:P47 resource:Q242942 . ?o rdf:type ontology:Q56061 } UNION { ?o property:P47 resource:Q242942 . ?o rdf:type ontology:Q15617994 } }
Monterotondo Sant'Angelo Romano Palombara Sabina Fonte Nuova Rome
5
action count
action union
action filter_type
action find_reverse
entity Mentana
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Mentana
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Mentana'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Mentana']
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { ?o property:shares_border_with resource:Mentana . ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o property:shares_border_with resource:Mentana . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?l ) WHERE { ?u rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 . ?u property:P530 ?y } GROUP BY ?u } . FILTER ( ?l = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?l ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?y } GROUP BY ?u } . FILTER ( ?l = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?l ) WHERE { ?u rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 . ?u property:P530 ?y } GROUP BY ?u } . FILTER ( ?l = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
4
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?l ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?y } GROUP BY ?u } . FILTER ( ?l = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P36
Q56061
USER
Which administrative territory is the capital of United Kingdom ?
(Q145,P36,c(Q56061))
action filter_type
action find
entity Q145
relation P36
type Q56061
['Q145', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q145 property:P36 ?r . ?r rdf:type ontology:Q56061 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation capital
type administrative territorial entity
['United Kingdom', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:United_Kingdom property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q145,P36,c(Q56061))
action filter_type
action find
entity Q145
relation P36
type Q56061
[ANSWER] is the capital of United Kingdom
['Q145', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q145 property:P36 ?r . ?r rdf:type ontology:Q56061 }
London
London is the capital of United Kingdom
London
action filter_type
action find
entity United Kingdom
relation capital
type administrative territorial entity
['United Kingdom', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:United_Kingdom property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P706
Q107425
USER
Which landscape is that administrative territory located on ?
(Q84,P706,c(Q107425))
action filter_type
action find
entity Q145
relation P706
type Q107425
['Q84', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q107425 . resource:Q145 property:P706 ?o }
United Kingdom
action filter_type
action find
entity United Kingdom
relation located on terrain feature
type landscape
['London', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:landscape . resource:United_Kingdom property:located_on_terrain_feature ?o }
[]
landscape
Q38272
SYSTEM
British Isles
Q38272
(Q84,P706,c(Q107425))
action filter_type
action find
entity Q145
relation P706
type Q107425
That administrative territory is located in [ANSWER]
['Q84', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q107425 . resource:Q145 property:P706 ?o }
British Isles
That administrative territory is located in British Isles
British Isles
action filter_type
action find
entity United Kingdom
relation located on terrain feature
type landscape
['London', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:landscape . resource:United_Kingdom property:located_on_terrain_feature ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P937
Q502895
USER
Who are an people who works at that administrative territory ?
(c(Q502895),P937,Q38272)
action filter_type
action find_reverse
entity Q145
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q38272']
SELECT DISTINCT ?x WHERE { ?x property:P937 resource:Q145 . ?x rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'British Isles']
SELECT DISTINCT ?x WHERE { ?x property:work_location resource:United_Kingdom . ?x rdf:type ontology:common_name }
[]
common name
Q20747363 Q24190535
SYSTEM
Cecilia Sternberg, Mungo Ballardie MacCallum
Q20747363 Q24190535
(c(Q502895),P937,Q38272)
action filter_type
action find_reverse
entity Q145
relation P937
type Q502895
An people works at that administrative territory are [ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q38272']
SELECT DISTINCT ?x WHERE { ?x property:P937 resource:Q145 . ?x rdf:type ontology:Q502895 }
Cecilia Sternberg Mungo Ballardie MacCallum
An people works at that administrative territory are Cecilia Sternberg and Mungo Ballardie MacCallum
Cecilia Sternberg Mungo Ballardie MacCallum
action filter_type
action find_reverse
entity United Kingdom
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'British Isles']
SELECT DISTINCT ?x WHERE { ?x property:work_location resource:United_Kingdom . ?x rdf:type ontology:common_name }
[]