Simple Question (Direct)
Simple Question
Q2367
P6
Q502895
USER
Who is the head of the government of Drangedal ?
(Q2367,P6,c(Q502895))
action filter_type
action find
entity Q2367
relation P6
type Q502895
['Q2367', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2367 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Drangedal
action filter_type
action find
entity Drangedal
relation head of government
type common name
['Drangedal', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Drangedal property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q17106762
SYSTEM
Karianne Sydtveit Reiten
Q17106762
(Q2367,P6,c(Q502895))
action filter_type
action find
entity Q2367
relation P6
type Q502895
The head of the government of Drangedal is [ANSWER]
['Q2367', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2367 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Karianne Sydtveit Reiten
The head of the government of Drangedal is Karianne Sydtveit Reiten
Karianne Sydtveit Reiten
action filter_type
action find
entity Drangedal
relation head of government
type common name
['Drangedal', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Drangedal property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2367
P17
Q15617994
USER
Which administrative territory is Drangedal located in ?
(Q2367,P17,c(Q15617994))
action filter_type
action find
entity Q2367
relation P17
type Q15617994
['Q2367', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2367 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Drangedal
action filter_type
action find
entity Drangedal
relation country
type designation for an administrative territorial entity
['Drangedal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Drangedal property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q2367,P17,c(Q15617994))
action filter_type
action find
entity Q2367
relation P17
type Q15617994
Drangedal is located in [ANSWER]
['Q2367', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2367 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Norway
Drangedal is located in Norway
Norway
action filter_type
action find
entity Drangedal
relation country
type designation for an administrative territorial entity
['Drangedal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Drangedal property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5797205
Q15617994
USER
And how about Golabkhvaran?
(Q5797205,P17,c(Q15617994))
action filter_type
action find
entity Q5797205
relation P17
type Q15617994
['Q5797205', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5797205 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Golabkhvaran
action filter_type
action find
entity Golabkhvaran
relation country
type designation for an administrative territorial entity
['Golabkhvaran', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Golabkhvaran property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q5797205,P17,c(Q15617994))
action filter_type
action find
entity Q5797205
relation P17
type Q15617994
[ANSWER]
['Q5797205', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5797205 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Golabkhvaran
relation country
type designation for an administrative territorial entity
['Golabkhvaran', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Golabkhvaran property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories inspired greater number of fictional locations than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q794
relation P941
type Q15617994
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P941 ?k . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q3895768 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q794 property:P941 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?z ) }
action count
action greater
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity Iran
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:inspired_by ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:fictional_location } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Iran property:inspired_by ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?z ) }
[]
designation for an administrative territorial entity fictional location
SYSTEM
1
Q668
(c(Q3895768),P941,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q794
relation P941
type Q15617994
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P941 ?k . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q3895768 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q794 property:P941 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?z ) }
India
1
action count
action greater
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity Iran
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:inspired_by ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:fictional_location } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Iran property:inspired_by ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q2031291 Q2342494
USER
How many administrative territories are the origin of atleast 650 releases and collectables ?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 650
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { FILTER ( ?v >= 650 ) . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:Q2031291 ) ( ontology:Q2342494 ) } . ?x rdf:type ?t } GROUP BY ?q } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 650
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { FILTER ( ?v >= 650 ) . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:release ) ( ontology:collectable ) } . ?x rdf:type ?t } GROUP BY ?q } }
[]
designation for an administrative territorial entity release collectable
SYSTEM
4
Q142 Q145 Q30 Q38
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 650
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { FILTER ( ?v >= 650 ) . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:Q2031291 ) ( ontology:Q2342494 ) } . ?x rdf:type ?t } GROUP BY ?q } }
France United Kingdom United States of America Italy
4
action count
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 650
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { FILTER ( ?v >= 650 ) . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:release ) ( ontology:collectable ) } . ?x rdf:type ?t } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P1001
Q1752346
USER
Which assembly presides the jurisdiction over Iran ?
(c(Q1752346),P1001,Q794)
action filter_type
action find_reverse
entity Q794
relation P1001
type Q1752346
[{'concept': 'Q1752346'}, 'P1001', 'Q794']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q794 . ?s rdf:type ontology:Q1752346 }
Iran
action filter_type
action find_reverse
entity Iran
relation applies to jurisdiction
type assembly
[{'concept': 'assembly'}, 'applies to jurisdiction', 'Iran']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Iran . ?s rdf:type ontology:assembly }
[]
assembly
Q378605
SYSTEM
Islamic Consultative Assembly
Q378605
(c(Q1752346),P1001,Q794)
action filter_type
action find_reverse
entity Q794
relation P1001
type Q1752346
[ANSWER] presides the jurisdiction over Iran
[{'concept': 'Q1752346'}, 'P1001', 'Q794']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q794 . ?s rdf:type ontology:Q1752346 }
Islamic Consultative Assembly
Islamic Consultative Assembly presides the jurisdiction over Iran
Islamic Consultative Assembly
action filter_type
action find_reverse
entity Iran
relation applies to jurisdiction
type assembly
[{'concept': 'assembly'}, 'applies to jurisdiction', 'Iran']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Iran . ?s rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q378605
P194
Q15617994
USER
Which administrative territory has that assembly as its legislative body ?
(c(Q15617994),P194,Q378605)
action filter_type
action find_reverse
entity Q378605
relation P194
type Q15617994
[{'concept': 'Q15617994'}, 'P194', 'Q378605']
SELECT DISTINCT ?q WHERE { ?q property:P194 resource:Q378605 . ?q rdf:type ontology:Q15617994 }
Islamic Consultative Assembly
action filter_type
action find_reverse
entity Islamic Consultative Assembly
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Islamic Consultative Assembly']
SELECT DISTINCT ?q WHERE { ?q property:legislative_body resource:Islamic_Consultative_Assembly . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(c(Q15617994),P194,Q378605)
action filter_type
action find_reverse
entity Q378605
relation P194
type Q15617994
[ANSWER] has that assembly as its legislative body
[{'concept': 'Q15617994'}, 'P194', 'Q378605']
SELECT DISTINCT ?q WHERE { ?q property:P194 resource:Q378605 . ?q rdf:type ontology:Q15617994 }
Iran
Iran has that assembly as its legislative body
Iran
action filter_type
action find_reverse
entity Islamic Consultative Assembly
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Islamic Consultative Assembly']
SELECT DISTINCT ?q WHERE { ?q property:legislative_body resource:Islamic_Consultative_Assembly . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q378605
P467
Q732577
USER
What was the publication enacted by Islamic Consultative Assembly ?
(c(Q732577),P467,Q378605)
action filter_type
action find_reverse
entity Q378605
relation P467
type Q732577
[{'concept': 'Q732577'}, 'P467', 'Q378605']
SELECT DISTINCT ?u WHERE { ?u property:P467 resource:Q378605 . ?u rdf:type ontology:Q732577 }
Islamic Consultative Assembly
action filter_type
action find_reverse
entity Islamic Consultative Assembly
relation legislated by
type publication
[{'concept': 'publication'}, 'legislated by', 'Islamic Consultative Assembly']
SELECT DISTINCT ?u WHERE { ?u property:legislated_by resource:Islamic_Consultative_Assembly . ?u rdf:type ontology:publication }
[]
publication
Q19531609
SYSTEM
Legislation of the 15th meeting of the Iranian National Assembly
Q19531609
(c(Q732577),P467,Q378605)
action filter_type
action find_reverse
entity Q378605
relation P467
type Q732577
The publication enacted by Islamic Consultative Assembly was [ANSWER]
[{'concept': 'Q732577'}, 'P467', 'Q378605']
SELECT DISTINCT ?u WHERE { ?u property:P467 resource:Q378605 . ?u rdf:type ontology:Q732577 }
Legislation of the 15th meeting of the Iranian National Assembly
The publication enacted by Islamic Consultative Assembly was Legislation of the 15th meeting of the Iranian National Assembly
Legislation of the 15th meeting of the Iranian National Assembly
action filter_type
action find_reverse
entity Islamic Consultative Assembly
relation legislated by
type publication
[{'concept': 'publication'}, 'legislated by', 'Islamic Consultative Assembly']
SELECT DISTINCT ?u WHERE { ?u property:legislated_by resource:Islamic_Consultative_Assembly . ?u rdf:type ontology:publication }
[]