Simple Question (Direct)
Simple Question
Q19622580
P19
Q15617994
USER
Which administrative territory was Silvia Sedonati born in ?
(Q19622580,P19,c(Q15617994))
action filter_type
action find
entity Q19622580
relation P19
type Q15617994
['Q19622580', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q19622580 property:P19 ?k . ?k rdf:type ontology:Q15617994 }
Silvia Sedonati
action filter_type
action find
entity Silvia Sedonati
relation place of birth
type designation for an administrative territorial entity
['Silvia Sedonati', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Silvia_Sedonati property:place_of_birth ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53174
SYSTEM
Maniago
Q53174
(Q19622580,P19,c(Q15617994))
action filter_type
action find
entity Q19622580
relation P19
type Q15617994
Silvia Sedonati was born in [ANSWER]
['Q19622580', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q19622580 property:P19 ?k . ?k rdf:type ontology:Q15617994 }
Maniago
Silvia Sedonati was born in Maniago
Maniago
action filter_type
action find
entity Silvia Sedonati
relation place of birth
type designation for an administrative territorial entity
['Silvia Sedonati', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Silvia_Sedonati property:place_of_birth ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q53174
P17
Q15617994
USER
Which administrative territory does that one belong to ?
(Q53174,P17,c(Q15617994))
action filter_type
action find
entity Q53174
relation P17
type Q15617994
['Q53174', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q53174 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Maniago
action filter_type
action find
entity Maniago
relation country
type designation for an administrative territorial entity
['Maniago', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Maniago property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q53174,P17,c(Q15617994))
action filter_type
action find
entity Q53174
relation P17
type Q15617994
That one belongs to the [ANSWER]
['Q53174', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q53174 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Italy
That one belongs to the Italy
Italy
action filter_type
action find
entity Maniago
relation country
type designation for an administrative territorial entity
['Maniago', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Maniago property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q12737077 Q22676587 Q15617994
USER
How many administrative territories have atleast 1 occupations and monarchic systems as government ?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action count
action atleast
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q12737077 ) ( ontology:Q22676587 ) } } GROUP BY ?d } . FILTER ( ?c >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:occupation ) ( ontology:monarchic_system ) } } GROUP BY ?d } . FILTER ( ?c >= 1 ) }
[]
occupation monarchic system designation for an administrative territorial entity
SYSTEM
5
Q833 Q541991 Q228 Q17 Q878
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action count
action atleast
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q12737077 ) ( ontology:Q22676587 ) } } GROUP BY ?d } . FILTER ( ?c >= 1 ) }
Malaysia Hummelfeld Andorra Japan United Arab Emirates
5
action count
action atleast
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:occupation ) ( ontology:monarchic_system ) } } GROUP BY ?d } . FILTER ( ?c >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q15617994 Q166142 Q2342494
USER
Which administrative territories are max number of applications and collectables set in ?
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?u ) WHERE { { ?d property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q166142 } UNION { ?d property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2342494 } } GROUP BY ?c } } . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } . ?z rdf:type ?y } GROUP BY ?r } . FILTER ( ?v = ?f ) }
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?u ) WHERE { { ?d property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:application } UNION { ?d property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:collectable } } GROUP BY ?c } } . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:application ) ( ontology:collectable ) } . ?z rdf:type ?y } GROUP BY ?r } . FILTER ( ?v = ?f ) }
[]
designation for an administrative territorial entity application collectable
Q17
SYSTEM
Japan
Q17
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
Max number of applications and collectables are set in [ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?u ) WHERE { { ?d property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q166142 } UNION { ?d property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2342494 } } GROUP BY ?c } } . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } . ?z rdf:type ?y } GROUP BY ?r } . FILTER ( ?v = ?f ) }
Japan
Max number of applications and collectables are set in Japan
Japan
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?u ) WHERE { { ?d property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:application } UNION { ?d property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:collectable } } GROUP BY ?c } } . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:application ) ( ontology:collectable ) } . ?z rdf:type ?y } GROUP BY ?r } . FILTER ( ?v = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q484652 Q43229
USER
How many international organizations and organizations had that administrative territory as their member ?
(Q17,P463,c(Q484652)) (Q17,P463,c(Q43229)) (Q17,P463,c(Q484652)) (Q17,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q484652
action filter_type
action find
entity Q17
relation P463
type Q43229
['Q17', 'P463', {'concept': 'Q484652'}] ['Q17', 'P463', {'concept': 'Q43229'}] ['Q17', 'P463', {'concept': 'Q484652'}] ['Q17', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ?p . VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q484652 ) } }
action count
action union
action filter_type
action find
entity Japan
relation member of
type international organization
action filter_type
action find
entity Japan
relation member of
type organization
['Japan', 'member of', {'concept': 'international organization'}] ['Japan', 'member of', {'concept': 'organization'}] ['Japan', 'member of', {'concept': 'international organization'}] ['Japan', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ?p . VALUES ( ?p ) { ( ontology:organization ) ( ontology:international_organization ) } }
[]
international organization organization
SYSTEM
5 international organizations and 8 organizations
Q340195 Q191384 Q899770 Q19771 Q1065 Q37143 Q188822 Q827525 Q656801 Q41550 Q170481 Q7825 Q1043527
(Q17,P463,c(Q484652)) (Q17,P463,c(Q43229)) (Q17,P463,c(Q484652)) (Q17,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q484652
action filter_type
action find
entity Q17
relation P463
type Q43229
[ANSWER]
['Q17', 'P463', {'concept': 'Q484652'}] ['Q17', 'P463', {'concept': 'Q43229'}] ['Q17', 'P463', {'concept': 'Q484652'}] ['Q17', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ?p . VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q484652 ) } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes G20 United Nations G8 Asian Development Bank International Development Association International Finance Corporation Organisation for Economic Co-operation and Development Asia-Pacific Economic Cooperation World Trade Organization Multilateral Investment Guarantee Agency
5 international organizations and 8 organizations
action count
action union
action filter_type
action find
entity Japan
relation member of
type international organization
action filter_type
action find
entity Japan
relation member of
type organization
['Japan', 'member of', {'concept': 'international organization'}] ['Japan', 'member of', {'concept': 'organization'}] ['Japan', 'member of', {'concept': 'international organization'}] ['Japan', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ?p . VALUES ( ?p ) { ( ontology:organization ) ( ontology:international_organization ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P921
Q191067
USER
Which article was primarily based on Poland ?
(c(Q191067),P921,Q36)
action filter_type
action find_reverse
entity Q36
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q36']
SELECT DISTINCT ?j WHERE { ?j property:P921 resource:Q36 . ?j rdf:type ontology:Q191067 }
Poland
action filter_type
action find_reverse
entity Poland
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Poland']
SELECT DISTINCT ?j WHERE { ?j property:main_subject resource:Poland . ?j rdf:type ontology:article }
[]
article
Q20655479
SYSTEM
EB-11 / Poland
Q20655479
(c(Q191067),P921,Q36)
action filter_type
action find_reverse
entity Q36
relation P921
type Q191067
[ANSWER] was primarily based on Poland
[{'concept': 'Q191067'}, 'P921', 'Q36']
SELECT DISTINCT ?j WHERE { ?j property:P921 resource:Q36 . ?j rdf:type ontology:Q191067 }
EB-11 / Poland
EB-11 / Poland was primarily based on Poland
EB-11 / Poland
action filter_type
action find_reverse
entity Poland
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Poland']
SELECT DISTINCT ?j WHERE { ?j property:main_subject resource:Poland . ?j rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P85
Q7725634
USER
What is the national anthem of that administrative territory ?
(Q20655479,P85,c(Q7725634))
action filter_type
action find
entity Q36
relation P85
type Q7725634
['Q20655479', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?k WHERE { resource:Q36 property:P85 ?k . ?k rdf:type ontology:Q7725634 }
Poland
action filter_type
action find
entity Poland
relation anthem
type literary work
['EB-11 / Poland', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?k WHERE { resource:Poland property:anthem ?k . ?k rdf:type ontology:literary_work }
[]
literary work
Q482988
SYSTEM
Mazurek Dąbrowskiego
Q482988
(Q20655479,P85,c(Q7725634))
action filter_type
action find
entity Q36
relation P85
type Q7725634
The national anthem of that administrative territory is the [ANSWER]
['Q20655479', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?k WHERE { resource:Q36 property:P85 ?k . ?k rdf:type ontology:Q7725634 }
Mazurek Dąbrowskiego
The national anthem of that administrative territory is the Mazurek Dąbrowskiego
Mazurek Dąbrowskiego
action filter_type
action find
entity Poland
relation anthem
type literary work
['EB-11 / Poland', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?k WHERE { resource:Poland property:anthem ?k . ?k rdf:type ontology:literary_work }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q7725634
USER
Which languages are the languages of work for max number of literary works ?
(c(Q7725634),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
[{'concept': 'Q7725634'}, 'P407', 'Q447117']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?x ) { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?b ) WHERE { ?p rdf:type ontology:Q34770 . ?f rdf:type ontology:Q7725634 . ?f property:P407 ?p } GROUP BY ?p } } . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:P407 ?y . ?y rdf:type ontology:Q34770 . ?q rdf:type ontology:Q7725634 } GROUP BY ?y } . FILTER ( ?e = ?x ) }
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?x ) { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?b ) WHERE { ?p rdf:type ontology:language . ?f rdf:type ontology:literary_work . ?f property:language_of_work_or_name ?p } GROUP BY ?p } } . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?q rdf:type ontology:literary_work } GROUP BY ?y } . FILTER ( ?e = ?x ) }
[]
language literary work
Q1860
SYSTEM
English
Q1860
(c(Q7725634),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
[ANSWER] is the languages of work for max number of literary works
[{'concept': 'Q7725634'}, 'P407', 'Q447117']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?x ) { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?b ) WHERE { ?p rdf:type ontology:Q34770 . ?f rdf:type ontology:Q7725634 . ?f property:P407 ?p } GROUP BY ?p } } . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:P407 ?y . ?y rdf:type ontology:Q34770 . ?q rdf:type ontology:Q7725634 } GROUP BY ?y } . FILTER ( ?e = ?x ) }
English
English is the languages of work for max number of literary works
English
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?x ) { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?b ) WHERE { ?p rdf:type ontology:language . ?f rdf:type ontology:literary_work . ?f property:language_of_work_or_name ?p } GROUP BY ?p } } . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?q rdf:type ontology:literary_work } GROUP BY ?y } . FILTER ( ?e = ?x ) }
[]