Simple Question (Direct)
Simple Question
Q3027941
P106
Q12737077
USER
What is the job of Dilan Nicolletti ?
(Q3027941,P106,c(Q12737077))
action filter_type
action find
entity Q3027941
relation P106
type Q12737077
['Q3027941', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q3027941 property:P106 ?a }
Dilan Nicolletti
action filter_type
action find
entity Dilan Nicolletti
relation occupation
type occupation
['Dilan Nicolletti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Dilan_Nicolletti property:occupation ?a }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3027941,P106,c(Q12737077))
action filter_type
action find
entity Q3027941
relation P106
type Q12737077
The job of Dilan Nicolletti is an [ANSWER]
['Q3027941', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q3027941 property:P106 ?a }
association football player
The job of Dilan Nicolletti is an association football player
association football player
action filter_type
action find
entity Dilan Nicolletti
relation occupation
type occupation
['Dilan Nicolletti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Dilan_Nicolletti property:occupation ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3027941
P19
Q486972
USER
Which human settlement is the birthplace of that person ?
(Q937857,P19,c(Q486972))
action filter_type
action find
entity Q3027941
relation P19
type Q486972
['Q937857', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q3027941 property:P19 ?i . ?i rdf:type ontology:Q486972 }
Dilan Nicolletti
action filter_type
action find
entity Dilan Nicolletti
relation place of birth
type human settlement
['association football player', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Dilan_Nicolletti property:place_of_birth ?i . ?i rdf:type ontology:human_settlement }
[]
human settlement
Q204245
SYSTEM
Cuernavaca
Q204245
(Q937857,P19,c(Q486972))
action filter_type
action find
entity Q3027941
relation P19
type Q486972
[ANSWER] is the birthplace of that person
['Q937857', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q3027941 property:P19 ?i . ?i rdf:type ontology:Q486972 }
Cuernavaca
Cuernavaca is the birthplace of that person
Cuernavaca
action filter_type
action find
entity Dilan Nicolletti
relation place of birth
type human settlement
['association football player', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Dilan_Nicolletti property:place_of_birth ?i . ?i rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q5119
USER
How many administrative territories and capitals are partner town of that human settlement ?
(c(Q56061),P190,Q204245) (c(Q5119),P190,Q204245) (c(Q56061),P190,Q204245) (c(Q5119),P190,Q204245)
action count
action union
action filter_type
action find_reverse
entity Q204245
relation P190
type Q56061
action filter_type
action find_reverse
entity Q204245
relation P190
type Q5119
[{'concept': 'Q56061'}, 'P190', 'Q204245'] [{'concept': 'Q5119'}, 'P190', 'Q204245'] [{'concept': 'Q56061'}, 'P190', 'Q204245'] [{'concept': 'Q5119'}, 'P190', 'Q204245']
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q5119 ) } . ?t rdf:type ?v }
action count
action union
action filter_type
action find_reverse
entity Cuernavaca
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Cuernavaca
relation sister city
type capital
[{'concept': 'administrative territorial entity'}, 'sister city', 'Cuernavaca'] [{'concept': 'capital'}, 'sister city', 'Cuernavaca'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Cuernavaca'] [{'concept': 'capital'}, 'sister city', 'Cuernavaca']
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:capital ) } . ?t rdf:type ?v }
[]
administrative territorial entity capital
SYSTEM
2 administrative territories and 1 capitals
Q36091 Q16554 Q81398
(c(Q56061),P190,Q204245) (c(Q5119),P190,Q204245) (c(Q56061),P190,Q204245) (c(Q5119),P190,Q204245)
action count
action union
action filter_type
action find_reverse
entity Q204245
relation P190
type Q56061
action filter_type
action find_reverse
entity Q204245
relation P190
type Q5119
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q204245'] [{'concept': 'Q5119'}, 'P190', 'Q204245'] [{'concept': 'Q56061'}, 'P190', 'Q204245'] [{'concept': 'Q5119'}, 'P190', 'Q204245']
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q5119 ) } . ?t rdf:type ?v }
Minneapolis Denver Acapulco
2 administrative territories and 1 capitals
action count
action union
action filter_type
action find_reverse
entity Cuernavaca
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Cuernavaca
relation sister city
type capital
[{'concept': 'administrative territorial entity'}, 'sister city', 'Cuernavaca'] [{'concept': 'capital'}, 'sister city', 'Cuernavaca'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Cuernavaca'] [{'concept': 'capital'}, 'sister city', 'Cuernavaca']
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:capital ) } . ?t rdf:type ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q204245
P740
Q215380
USER
Which band originated at Cuernavaca ?
(c(Q215380),P740,Q204245)
action filter_type
action find_reverse
entity Q204245
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q204245']
SELECT DISTINCT ?f WHERE { ?f property:P740 resource:Q204245 . ?f rdf:type ontology:Q215380 }
Cuernavaca
action filter_type
action find_reverse
entity Cuernavaca
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Cuernavaca']
SELECT DISTINCT ?f WHERE { ?f property:location_of_formation resource:Cuernavaca . ?f rdf:type ontology:band }
[]
band
Q20643156
SYSTEM
Exodo Band
Q20643156
(c(Q215380),P740,Q204245)
action filter_type
action find_reverse
entity Q204245
relation P740
type Q215380
Band [ANSWER] originated at Cuernavaca
[{'concept': 'Q215380'}, 'P740', 'Q204245']
SELECT DISTINCT ?f WHERE { ?f property:P740 resource:Q204245 . ?f rdf:type ontology:Q215380 }
Exodo Band
Band Exodo Band originated at Cuernavaca
Exodo Band
action filter_type
action find_reverse
entity Cuernavaca
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Cuernavaca']
SELECT DISTINCT ?f WHERE { ?f property:location_of_formation resource:Cuernavaca . ?f rdf:type ontology:band }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q204245
P17
Q15617994
USER
Which administrative territory is Cuernavaca present in ?
(Q204245,P17,c(Q15617994))
action filter_type
action find
entity Q204245
relation P17
type Q15617994
['Q204245', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q204245 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Cuernavaca
action filter_type
action find
entity Cuernavaca
relation country
type designation for an administrative territorial entity
['Cuernavaca', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Cuernavaca property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q204245,P17,c(Q15617994))
action filter_type
action find
entity Q204245
relation P17
type Q15617994
Cuernavaca is in [ANSWER]
['Q204245', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q204245 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Mexico
Cuernavaca is in Mexico
Mexico
action filter_type
action find
entity Cuernavaca
relation country
type designation for an administrative territorial entity
['Cuernavaca', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Cuernavaca property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q96 Q5595552
P530
Q15617994
USER
Does Grandview, Prince Edward Island have diplomatic relations with that one ?
(Q96,P530,Q5595552)
action is_in
entity Q5595552
action find
entity Q96
relation P530
['Q96', 'P530', 'Q5595552']
ASK WHERE { resource:Q96 property:P530 resource:Q5595552 }
Mexico Grandview, Prince Edward Island
action is_in
entity Grandview, Prince Edward Island
action find
entity Mexico
relation diplomatic relation
['Mexico', 'diplomatic relation', 'Grandview, Prince Edward Island']
ASK WHERE { resource:Mexico property:diplomatic_relation resource:Grandview,_Prince_Edward_Island }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q96,P530,Q5595552)
action is_in
entity Q5595552
action find
entity Q96
relation P530
[ANSWER]
['Q96', 'P530', 'Q5595552']
ASK WHERE { resource:Q96 property:P530 resource:Q5595552 }
No
action is_in
entity Grandview, Prince Edward Island
action find
entity Mexico
relation diplomatic relation
['Mexico', 'diplomatic relation', 'Grandview, Prince Edward Island']
ASK WHERE { resource:Mexico property:diplomatic_relation resource:Grandview,_Prince_Edward_Island }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q96
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories holds diplomatic relationship with Mexico ?
(Q96,P530,c(Q1048835)) (Q96,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q96
relation P530
type Q1048835
action filter_type
action find
entity Q96
relation P530
type Q15617994
['Q96', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { resource:Q96 property:P530 ?n . ?n rdf:type ontology:Q1048835 } UNION { resource:Q96 property:P530 ?n . ?n rdf:type ontology:Q15617994 } }
Mexico
action count
action union
action filter_type
action find
entity Mexico
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { resource:Mexico property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } UNION { resource:Mexico property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2 political territories and 2 administrative territories
Q155 Q408 Q38 Q183
(Q96,P530,c(Q1048835)) (Q96,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q96
relation P530
type Q1048835
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWER]
['Q96', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { resource:Q96 property:P530 ?n . ?n rdf:type ontology:Q1048835 } UNION { resource:Q96 property:P530 ?n . ?n rdf:type ontology:Q15617994 } }
Brazil Australia Italy Germany
2 political territories and 2 administrative territories
action count
action union
action filter_type
action find
entity Mexico
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { resource:Mexico property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } UNION { resource:Mexico property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q769
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with approximately the same number of administrative territories as Grenada ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?i ) WHERE { ?n property:P530 ?e . ?n rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q769 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } . FILTER ( ?i = ?y ) }
Grenada
action count
action approx
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 Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?i ) WHERE { ?n property:diplomatic_relation ?e . ?n rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Grenada property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } . FILTER ( ?i = ?y ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?i ) WHERE { ?n property:P530 ?e . ?n rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q769 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } . FILTER ( ?i = ?y ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
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 Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?i ) WHERE { ?n property:diplomatic_relation ?e . ?n rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Grenada property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } . FILTER ( ?i = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1000
P530
Q15617994 Q1048835
USER
And how about Gabon?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?b ) WHERE { ?u property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q1000 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?b = ?w ) }
Gabon
action count
action approx
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 political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?b ) WHERE { ?u property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Gabon property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?b = ?w ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?b ) WHERE { ?u property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q1000 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?b = ?w ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
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 political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?b ) WHERE { ?u property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Gabon property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?b = ?w ) }
[]