Simple Question (Direct)
Simple Question
Q3336517
P106
Q12737077
USER
What does Nate Solder do for a living ?
(Q3336517,P106,c(Q12737077))
action filter_type
action find
entity Q3336517
relation P106
type Q12737077
['Q3336517', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3336517 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Nate Solder
action filter_type
action find
entity Nate Solder
relation occupation
type occupation
['Nate Solder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Nate_Solder property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q3336517,P106,c(Q12737077))
action filter_type
action find
entity Q3336517
relation P106
type Q12737077
Nate Solder does an [ANSWER] for a living
['Q3336517', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3336517 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
American football player
Nate Solder does an American football player for a living
American football player
action filter_type
action find
entity Nate Solder
relation occupation
type occupation
['Nate Solder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Nate_Solder property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3336517
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q19204627,P27,c(Q15617994))
action filter_type
action find
entity Q3336517
relation P27
type Q15617994
['Q19204627', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3336517 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Nate Solder
action filter_type
action find
entity Nate Solder
relation country of citizenship
type designation for an administrative territorial entity
['American football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nate_Solder property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q19204627,P27,c(Q15617994))
action filter_type
action find
entity Q3336517
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q19204627', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3336517 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
That person belongs to the United States of America
United States of America
action filter_type
action find
entity Nate Solder
relation country of citizenship
type designation for an administrative territorial entity
['American football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nate_Solder property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q408 Q4183040
P530
Q1048835
USER
Does that administrative territory have diplomatic associations with Australia and Zavydo-Kudasheve ?
(Q30,P530,Q408) (Q30,P530,Q4183040)
action is_in
entity Q30
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q4183040
relation P530
['Q30', 'P530', 'Q408'] ['Q30', 'P530', 'Q4183040']
ASK WHERE { resource:Q30 property:P530 resource:Q408 . resource:Q30 property:P530 resource:Q4183040 }
United States of America Australia Zavydo-Kudasheve
action is_in
entity United States of America
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Zavydo-Kudasheve
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Australia'] ['United States of America', 'diplomatic relation', 'Zavydo-Kudasheve']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Australia . resource:United_States_of_America property:diplomatic_relation resource:Zavydo-Kudasheve }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q30,P530,Q408) (Q30,P530,Q4183040)
action is_in
entity Q30
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q4183040
relation P530
[ANSWER]
['Q30', 'P530', 'Q408'] ['Q30', 'P530', 'Q4183040']
ASK WHERE { resource:Q30 property:P530 resource:Q408 . resource:Q30 property:P530 resource:Q4183040 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Zavydo-Kudasheve
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Australia'] ['United States of America', 'diplomatic relation', 'Zavydo-Kudasheve']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Australia . resource:United_States_of_America property:diplomatic_relation resource:Zavydo-Kudasheve }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is the currency of that administrative territory ?
action filter_type
action find
entity Q30
relation P38
type Q8142
SELECT DISTINCT ?c WHERE { resource:Q30 property:P38 ?c . ?c rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
SELECT DISTINCT ?c WHERE { resource:United_States_of_America property:currency ?c . ?c rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
action filter_type
action find
entity Q30
relation P38
type Q8142
The currency of that administrative territory is the [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q30 property:P38 ?c . ?c rdf:type ontology:Q8142 }
United States dollar
The currency of that administrative territory is the United States dollar
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
SELECT DISTINCT ?c WHERE { resource:United_States_of_America property:currency ?c . ?c rdf:type ontology:currency }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with approximately 91 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { FILTER ( ?k = 91 ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?k ) WHERE { ?s rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 . ?s property:P530 ?z } GROUP BY ?s } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { FILTER ( ?k = 91 ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?k ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?z } GROUP BY ?s } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { FILTER ( ?k = 91 ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?k ) WHERE { ?s rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 . ?s property:P530 ?z } GROUP BY ?s } }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { FILTER ( ?k = 91 ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?k ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?z } GROUP BY ?s } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P38
Q8142 Q56061
USER
Which administrative territories have max number of currencies as their currency ?
(c(Q56061),P38,c(Q8142))
action argmax
action find_tuple_counts
relation P38
type Q56061
type Q8142
[{'concept': 'Q56061'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?z ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?l ) WHERE { ?i property:P38 ?j . ?j rdf:type ontology:Q8142 . ?i rdf:type ontology:Q56061 } GROUP BY ?i } } . { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?c ) WHERE { ?n property:P38 ?t . ?n rdf:type ontology:Q56061 . ?t rdf:type ontology:Q8142 } GROUP BY ?n } . FILTER ( ?c = ?z ) }
action argmax
action find_tuple_counts
relation currency
type administrative territorial entity
type currency
[{'concept': 'administrative territorial entity'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?z ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?l ) WHERE { ?i property:currency ?j . ?j rdf:type ontology:currency . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?i } } . { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?c ) WHERE { ?n property:currency ?t . ?n rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:currency } GROUP BY ?n } . FILTER ( ?c = ?z ) }
[]
currency administrative territorial entity
Q458 Q16635 Q25230
SYSTEM
European Union, Guam, Guernsey
Q25528 Q458 Q26180 Q16635 Q25396 Q179313 Q2499687 Q25230 Q16644 Q1183 Q16641 Q11703 Q26 Q2532285
(c(Q56061),P38,c(Q8142))
action argmax
action find_tuple_counts
relation P38
type Q56061
type Q8142
[ANSWERS] have max number of currencies as their currency
[{'concept': 'Q56061'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?z ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?l ) WHERE { ?i property:P38 ?j . ?j rdf:type ontology:Q8142 . ?i rdf:type ontology:Q56061 } GROUP BY ?i } } . { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?c ) WHERE { ?n property:P38 ?t . ?n rdf:type ontology:Q56061 . ?t rdf:type ontology:Q8142 } GROUP BY ?n } . FILTER ( ?c = ?z ) }
Saba European Union Sint Eustatius Guam Bonaire Alderney Yatton Guernsey Northern Mariana Islands Puerto Rico American Samoa United States Virgin Islands Northern Ireland New Cumberland
European Union, Guam and Guernsey have max number of currencies as their currency
European Union Guam Guernsey
action argmax
action find_tuple_counts
relation currency
type administrative territorial entity
type currency
[{'concept': 'administrative territorial entity'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?z ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?l ) WHERE { ?i property:currency ?j . ?j rdf:type ontology:currency . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?i } } . { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?c ) WHERE { ?n property:currency ?t . ?n rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:currency } GROUP BY ?n } . FILTER ( ?c = ?z ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q935493 Q408
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Australia and are Ruen situated in ?
AND((Q408,P530,c(Q15617994)), (Q935493,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q935493
relation P17
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q935493', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q935493 property:P17 ?q . resource:Q408 property:P530 ?q . ?q rdf:type ontology:Q15617994 }
Ruen Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Ruen
relation country
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ruen', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Ruen property:country ?q . resource:Australia property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
AND((Q408,P530,c(Q15617994)), (Q935493,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q935493
relation P17
type Q15617994
[ANSWER] have a diplomatic relationship with Australia and are Ruen situated in
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q935493', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q935493 property:P17 ?q . resource:Q408 property:P530 ?q . ?q rdf:type ontology:Q15617994 }
Bulgaria
Bulgaria have a diplomatic relationship with Australia and are Ruen situated in
Bulgaria
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Ruen
relation country
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ruen', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Ruen property:country ?q . resource:Australia property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458
P859
Q939954
USER
Which Magnetic confinement fusion was sponsored by European Union ?
(c(Q939954),P859,Q458)
action filter_type
action find_reverse
entity Q458
relation P859
type Q939954
[{'concept': 'Q939954'}, 'P859', 'Q458']
SELECT DISTINCT ?j WHERE { ?j property:P859 resource:Q458 . ?j rdf:type ontology:Q939954 }
European Union
action filter_type
action find_reverse
entity European Union
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'European Union']
SELECT DISTINCT ?j WHERE { ?j property:sponsor resource:European_Union . ?j rdf:type ontology:Magnetic_confinement_fusion }
[]
Magnetic confinement fusion
Q191788
SYSTEM
ITER
Q191788
(c(Q939954),P859,Q458)
action filter_type
action find_reverse
entity Q458
relation P859
type Q939954
[ANSWER] was sponsored by European Union
[{'concept': 'Q939954'}, 'P859', 'Q458']
SELECT DISTINCT ?j WHERE { ?j property:P859 resource:Q458 . ?j rdf:type ontology:Q939954 }
ITER
ITER was sponsored by European Union
ITER
action filter_type
action find_reverse
entity European Union
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'European Union']
SELECT DISTINCT ?j WHERE { ?j property:sponsor resource:European_Union . ?j rdf:type ontology:Magnetic_confinement_fusion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458
P138
Q2221906
USER
Which geographic location is European Union named after ?
(Q458,P138,c(Q2221906))
action filter_type
action find
entity Q458
relation P138
type Q2221906
['Q458', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q458 property:P138 ?l . ?l rdf:type ontology:Q2221906 }
European Union
action filter_type
action find
entity European Union
relation named after
type geographic location
['European Union', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:European_Union property:named_after ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q458,P138,c(Q2221906))
action filter_type
action find
entity Q458
relation P138
type Q2221906
Which geographic location is [ANSWER]an Union named after
['Q458', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q458 property:P138 ?l . ?l rdf:type ontology:Q2221906 }
Europe
Which geographic location is European Union named after
Europe
action filter_type
action find
entity European Union
relation named after
type geographic location
['European Union', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:European_Union property:named_after ?l . ?l rdf:type ontology:geographic_location }
[]