Simple Question (Direct)
Simple Question
Q3030392
P400
Q676202
USER
What is the platform for which Pacific Fighters was developed ?
(Q3030392,P400,c(Q676202))
action filter_type
action find
entity Q3030392
relation P400
type Q676202
['Q3030392', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ?s WHERE { resource:Q3030392 property:P400 ?s . ?s rdf:type ontology:Q676202 }
Pacific Fighters
action filter_type
action find
entity Pacific Fighters
relation platform
type system software
['Pacific Fighters', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ?s WHERE { resource:Pacific_Fighters property:platform ?s . ?s rdf:type ontology:system_software }
[]
system software
Q1406
SYSTEM
Microsoft Windows
Q1406
(Q3030392,P400,c(Q676202))
action filter_type
action find
entity Q3030392
relation P400
type Q676202
[ANSWER]
['Q3030392', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ?s WHERE { resource:Q3030392 property:P400 ?s . ?s rdf:type ontology:Q676202 }
Microsoft Windows
Microsoft Windows
Microsoft Windows
action filter_type
action find
entity Pacific Fighters
relation platform
type system software
['Pacific Fighters', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ?s WHERE { resource:Pacific_Fighters property:platform ?s . ?s rdf:type ontology:system_software }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3030392
P123
Q28640
USER
Which profession published Pacific Fighters ?
(Q3030392,P123,c(Q28640))
action filter_type
action find
entity Q3030392
relation P123
type Q28640
['Q3030392', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q28640 . resource:Q3030392 property:P123 ?k }
Pacific Fighters
action filter_type
action find
entity Pacific Fighters
relation publisher
type profession
['Pacific Fighters', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:profession . resource:Pacific_Fighters property:publisher ?k }
[]
profession
Q77202
SYSTEM
1C Company
Q77202
(Q3030392,P123,c(Q28640))
action filter_type
action find
entity Q3030392
relation P123
type Q28640
[ANSWER] published Pacific Fighters
['Q3030392', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q28640 . resource:Q3030392 property:P123 ?k }
1C Company
1C Company published Pacific Fighters
1C Company
action filter_type
action find
entity Pacific Fighters
relation publisher
type profession
['Pacific Fighters', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:profession . resource:Pacific_Fighters property:publisher ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q77202
P17
Q15617994
USER
Which administrative territory does that profession belong to ?
(Q77202,P17,c(Q15617994))
action filter_type
action find
entity Q77202
relation P17
type Q15617994
['Q77202', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q77202 property:P17 ?i }
1C Company
action filter_type
action find
entity 1C Company
relation country
type designation for an administrative territorial entity
['1C Company', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:1C_Company property:country ?i }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q77202,P17,c(Q15617994))
action filter_type
action find
entity Q77202
relation P17
type Q15617994
That profession belongs to [ANSWER]
['Q77202', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q77202 property:P17 ?i }
Russia
That profession belongs to Russia
Russia
action filter_type
action find
entity 1C Company
relation country
type designation for an administrative territorial entity
['1C Company', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:1C_Company property:country ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1000
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with greater number of administrative territories than Gabon ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q1000 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?y > ?i ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?y ) WHERE { ?g property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } }
Gabon
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Gabon property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y > ?i ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?y ) WHERE { ?g property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q1000 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?y > ?i ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?y ) WHERE { ?g property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Gabon property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y > ?i ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?y ) WHERE { ?g property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q35
P530
Q1048835 Q15617994
USER
And how about Denmark?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q35 property:P530 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?h ) WHERE { ?q rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 . ?q property:P530 ?v } GROUP BY ?q } }
Denmark
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Denmark property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?h ) WHERE { ?q rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?v } GROUP BY ?q } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q40 Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q35 property:P530 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?h ) WHERE { ?q rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 . ?q property:P530 ?v } GROUP BY ?q } }
Austria Germany Australia Canada
4
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Denmark property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?h ) WHERE { ?q rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?v } GROUP BY ?q } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?n ) WHERE { ?z property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?z } } . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?a ) WHERE { ?w property:P530 ?t . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?a = ?c ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?n ) WHERE { ?z property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } } . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?a ) WHERE { ?w property:diplomatic_relation ?t . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?a = ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?n ) WHERE { ?z property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?z } } . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?a ) WHERE { ?w property:P530 ?t . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?a = ?c ) }
Italy
Italy have diplomatic relationships with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?n ) WHERE { ?z property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } } . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?a ) WHERE { ?w property:diplomatic_relation ?t . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?a = ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately 14 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?v ) WHERE { ?w property:P530 ?j . ?w rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?v = 14 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?v ) WHERE { ?w property:diplomatic_relation ?j . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?v = 14 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q953 Q148
SYSTEM
France, Zambia, People's Republic of China
Q801 Q805 Q668 Q142 Q145 Q148 Q403 Q43 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[ANSWERS] have diplomatic relationships with approximately 14 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?v ) WHERE { ?w property:P530 ?j . ?w rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?v = 14 ) }
Israel Yemen India France United Kingdom People's Republic of China Serbia Turkey Japan Egypt Libya Cape Verde Zambia
France, Zambia and People's Republic of China have diplomatic relationships with approximately 14 administrative territories
France Zambia People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?v ) WHERE { ?w property:diplomatic_relation ?j . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?v = 14 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories inspired around the same number of fictional locations as that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|Count over More/Less|Single entity type|Clarification
Q142
SYSTEM
Did you mean France ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean France ?
France
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
9
Q142 Q159 Q424 Q794 Q33 Q954 Q31 Q889 Q55
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
France Russia Cambodia Iran Finland Zimbabwe Belgium Afghanistan Netherlands
9
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]