Simple Question (Direct)
Simple Question
Q3713235
P20
Q15617994
USER
Where did the expiration of Domenico Sartor occur ?
(Q3713235,P20,c(Q15617994))
action filter_type
action find
entity Q3713235
relation P20
type Q15617994
['Q3713235', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3713235 property:P20 ?t . ?t rdf:type ontology:Q15617994 }
Domenico Sartor
action filter_type
action find
entity Domenico Sartor
relation place of death
type designation for an administrative territorial entity
['Domenico Sartor', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Domenico_Sartor property:place_of_death ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29352
SYSTEM
Castelfranco Veneto
Q29352
(Q3713235,P20,c(Q15617994))
action filter_type
action find
entity Q3713235
relation P20
type Q15617994
The expiration of Domenico Sartor occurred in [ANSWER]
['Q3713235', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3713235 property:P20 ?t . ?t rdf:type ontology:Q15617994 }
Castelfranco Veneto
The expiration of Domenico Sartor occurred in Castelfranco Veneto
Castelfranco Veneto
action filter_type
action find
entity Domenico Sartor
relation place of death
type designation for an administrative territorial entity
['Domenico Sartor', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Domenico_Sartor property:place_of_death ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3713235
P1412
Q34770
USER
Which language is spoken by Domenico Sartor ?
(Q3713235,P1412,c(Q34770))
action filter_type
action find
entity Q3713235
relation P1412
type Q34770
['Q3713235', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3713235 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Domenico Sartor
action filter_type
action find
entity Domenico Sartor
relation languages spoken, written or signed
type language
['Domenico Sartor', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Domenico_Sartor property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3713235,P1412,c(Q34770))
action filter_type
action find
entity Q3713235
relation P1412
type Q34770
And [ANSWER] is spoken by Domenico Sartor
['Q3713235', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3713235 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Italian
And Italian is spoken by Domenico Sartor
Italian
action filter_type
action find
entity Domenico Sartor
relation languages spoken, written or signed
type language
['Domenico Sartor', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Domenico_Sartor property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3713235
P19
Q852446
USER
Which US administrative territory was that person born in ?
(Q652,P19,c(Q852446))
action filter_type
action find
entity Q3713235
relation P19
type Q852446
['Q652', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?m WHERE { resource:Q3713235 property:P19 ?m . ?m rdf:type ontology:Q852446 }
Domenico Sartor
action filter_type
action find
entity Domenico Sartor
relation place of birth
type administrative territorial entity of the United States
['Italian', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?m WHERE { resource:Domenico_Sartor property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q99
SYSTEM
California
Q99
(Q652,P19,c(Q852446))
action filter_type
action find
entity Q3713235
relation P19
type Q852446
That [ANSWER] was that person born in
['Q652', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?m WHERE { resource:Q3713235 property:P19 ?m . ?m rdf:type ontology:Q852446 }
California
That California was that person born in
California
action filter_type
action find
entity Domenico Sartor
relation place of birth
type administrative territorial entity of the United States
['Italian', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?m WHERE { resource:Domenico_Sartor property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q99
P47
Q852446
USER
Which US administrative territories are bordered by that one ?
(Q99,P47,c(Q852446))
action filter_type
action find
entity Q99
relation P47
type Q852446
['Q99', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q852446 . resource:Q99 property:P47 ?a }
California
action filter_type
action find
entity California
relation shares border with
type administrative territorial entity of the United States
['California', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:California property:shares_border_with ?a }
[]
administrative territorial entity of the United States
Q1227 Q824 Q816
SYSTEM
Nevada, Oregon, Arizona
Q1227 Q824 Q816
(Q99,P47,c(Q852446))
action filter_type
action find
entity Q99
relation P47
type Q852446
And [ANSWERS] are bordered by that one
['Q99', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q852446 . resource:Q99 property:P47 ?a }
Nevada Oregon Arizona
And Nevada, Oregon and Arizona are bordered by that one
Nevada Oregon Arizona
action filter_type
action find
entity California
relation shares border with
type administrative territorial entity of the United States
['California', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:California property:shares_border_with ?a }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q921
P85
Q484692 Q7725634 Q15617994
USER
How many administrative territories have more number of hymns and literary works as their national anthem than Brunei ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q921
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?j ) WHERE { { ?g property:P85 ?v . ?g rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q7725634 } UNION { ?g property:P85 ?v . ?v rdf:type ontology:Q484692 . ?g rdf:type ontology:Q15617994 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q921 property:P85 ?w . { VALUES ( ?x ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?w rdf:type ?x } } } . FILTER ( ?j > ?y ) }
Brunei
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Brunei
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?j ) WHERE { { ?g property:anthem ?v . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:literary_work } UNION { ?g property:anthem ?v . ?v rdf:type ontology:hymn . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Brunei property:anthem ?w . { VALUES ( ?x ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?w rdf:type ?x } } } . FILTER ( ?j > ?y ) }
[]
hymn literary work designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q921
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?j ) WHERE { { ?g property:P85 ?v . ?g rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q7725634 } UNION { ?g property:P85 ?v . ?v rdf:type ontology:Q484692 . ?g rdf:type ontology:Q15617994 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q921 property:P85 ?w . { VALUES ( ?x ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?w rdf:type ?x } } } . FILTER ( ?j > ?y ) }
Russia Belize Somalia
3
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Brunei
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?j ) WHERE { { ?g property:anthem ?v . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:literary_work } UNION { ?g property:anthem ?v . ?v rdf:type ontology:hymn . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Brunei property:anthem ?w . { VALUES ( ?x ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?w rdf:type ?x } } } . FILTER ( ?j > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q215
P85
Q484692 Q7725634 Q15617994
USER
And also tell me about Slovenia?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q215
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q215 property:P85 ?x . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?p ) WHERE { { ?g property:P85 ?d . ?g rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q484692 } UNION { ?g property:P85 ?d . ?g rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q7725634 } } GROUP BY ?g } }
Slovenia
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Slovenia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Slovenia property:anthem ?x . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?p ) WHERE { { ?g property:anthem ?d . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:hymn } UNION { ?g property:anthem ?d . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:literary_work } } GROUP BY ?g } }
[]
hymn literary work designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q215
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q215 property:P85 ?x . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?p ) WHERE { { ?g property:P85 ?d . ?g rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q484692 } UNION { ?g property:P85 ?d . ?g rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q7725634 } } GROUP BY ?g } }
Russia Belize Somalia
3
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Slovenia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Slovenia property:anthem ?x . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?p ) WHERE { { ?g property:anthem ?d . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:hymn } UNION { ?g property:anthem ?d . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:literary_work } } GROUP BY ?g } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q701632 Q852446
USER
How many municipal councils represent atmost 1 US administrative territory ?
(c(Q852446),P194,c(Q701632))
action count
action atmost
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
value 1
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { FILTER ( ?j <= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q852446 . ?z rdf:type ontology:Q701632 . ?s property:P194 ?z } GROUP BY ?z } }
action count
action atmost
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
value 1
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { FILTER ( ?j <= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?z rdf:type ontology:municipal_council . ?s property:legislative_body ?z } GROUP BY ?z } }
[]
municipal council administrative territorial entity of the United States
SYSTEM
19
Q4813169 Q27664348 Q27655424 Q20198781 Q27655510 Q27671513 Q27691912 Q27671767 Q19961118 Q4721499 Q6528155 Q4718854 Q27691982 Q4804754 Q23074103 Q27691927 Q7876357 Q27691835 Q27666941
(c(Q852446),P194,c(Q701632))
action count
action atmost
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
value 1
[ANSWER]
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { FILTER ( ?j <= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q852446 . ?z rdf:type ontology:Q701632 . ?s property:P194 ?z } GROUP BY ?z } }
Athabasca Chipewyan First Nation Atikamekw d'Opitciwan Oujé-Bougoumou Cree Nation Eagle Village First Nation - Kipawa Conseil des Atikamekw de Wemotaci Mohawks of Kahnawá:ke nation innu Matimekush-Lac John Mohawks of Kanesatake Båstad Municipal Council Alexis Nakota Sioux First Nation Luxembourg communal council Alexander Montagnais du Lac St-Jean Ashcroft First Nation Mikisew Cree First Nation Innus de Ekuanitshit Uashat-Maliotenam Cree Nation of Chisasibi Atikamekw de Manawan
19
action count
action atmost
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
value 1
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { FILTER ( ?j <= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?z rdf:type ontology:municipal_council . ?s property:legislative_body ?z } GROUP BY ?z } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9056
P37
Q34770 Q7275 Q15617994
USER
How many languages are the official languages of greater number of states or administrative territories than Czech ?
(c(Q7275)|c(Q15617994),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P37
type Q7275
type Q15617994
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P37 resource:Q9056 . { { ?k rdf:type ontology:Q7275 } UNION { ?k rdf:type ontology:Q15617994 } } } } . FILTER ( ?b > ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?m WHERE { { ?h property:P37 ?m . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q7275 } UNION { ?h property:P37 ?m . ?h rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q34770 } } GROUP BY ?m } }
Czech
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Czech
relation official language
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:official_language resource:Czech . { { ?k rdf:type ontology:state } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?b > ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?m WHERE { { ?h property:official_language ?m . ?m rdf:type ontology:language . ?h rdf:type ontology:state } UNION { ?h property:official_language ?m . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:language } } GROUP BY ?m } }
[]
language state designation for an administrative territorial entity
SYSTEM
4
Q1860 Q652 Q1321 Q397
(c(Q7275)|c(Q15617994),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P37
type Q7275
type Q15617994
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P37 resource:Q9056 . { { ?k rdf:type ontology:Q7275 } UNION { ?k rdf:type ontology:Q15617994 } } } } . FILTER ( ?b > ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?m WHERE { { ?h property:P37 ?m . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q7275 } UNION { ?h property:P37 ?m . ?h rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q34770 } } GROUP BY ?m } }
English Italian Spanish Latin
4
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Czech
relation official language
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:official_language resource:Czech . { { ?k rdf:type ontology:state } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?b > ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?m WHERE { { ?h property:official_language ?m . ?m rdf:type ontology:language . ?h rdf:type ontology:state } UNION { ?h property:official_language ?m . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:language } } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q652
P37
Q34770 Q7275 Q15617994
USER
And what about Italian?
(c(Q7275)|c(Q15617994),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q652
relation P37
type Q7275
type Q15617994
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?g . VALUES ( ?g ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } GROUP BY ?e } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { { ?h rdf:type ontology:Q7275 } UNION { ?h rdf:type ontology:Q15617994 } } . ?h property:P37 resource:Q652 } } }
Italian
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Italian
relation official language
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?g . VALUES ( ?g ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?e } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { { ?h rdf:type ontology:state } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?h property:official_language resource:Italian } } }
[]
language state designation for an administrative territorial entity
SYSTEM
2
Q1860 Q1321
(c(Q7275)|c(Q15617994),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q652
relation P37
type Q7275
type Q15617994
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?g . VALUES ( ?g ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } GROUP BY ?e } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { { ?h rdf:type ontology:Q7275 } UNION { ?h rdf:type ontology:Q15617994 } } . ?h property:P37 resource:Q652 } } }
English Spanish
2
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Italian
relation official language
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?g . VALUES ( ?g ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?e } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { { ?h rdf:type ontology:state } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?h property:official_language resource:Italian } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q816
P276
Q874405
USER
What are situated at Arizona ?
(c(Q874405),P276,Q816)
action filter_type
action find_reverse
entity Q816
relation P276
type Q874405
[{'concept': 'Q874405'}, 'P276', 'Q816']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q816 . ?r rdf:type ontology:Q874405 }
Arizona
action filter_type
action find_reverse
entity Arizona
relation location
type social group
[{'concept': 'social group'}, 'location', 'Arizona']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Arizona . ?r rdf:type ontology:social_group }
[]
social group
Q4791314 Q5329596 Q6054083
SYSTEM
Arizona Geological Society, East Valley Partnership, International UFO Congress
Q4791314 Q5329596 Q6054083
(c(Q874405),P276,Q816)
action filter_type
action find_reverse
entity Q816
relation P276
type Q874405
[ANSWERS] are situated at Arizona
[{'concept': 'Q874405'}, 'P276', 'Q816']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q816 . ?r rdf:type ontology:Q874405 }
Arizona Geological Society East Valley Partnership International UFO Congress
Arizona Geological Society, East Valley Partnership and International UFO Congress are situated at Arizona
Arizona Geological Society East Valley Partnership International UFO Congress
action filter_type
action find_reverse
entity Arizona
relation location
type social group
[{'concept': 'social group'}, 'location', 'Arizona']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Arizona . ?r rdf:type ontology:social_group }
[]