Simple Question (Direct)
Simple Question
Q3606722
P106
Q12737077
USER
Which occupation is the profession of Agostino Bertolotto ?
(Q3606722,P106,c(Q12737077))
action filter_type
action find
entity Q3606722
relation P106
type Q12737077
['Q3606722', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3606722 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Agostino Bertolotto
action filter_type
action find
entity Agostino Bertolotto
relation occupation
type occupation
['Agostino Bertolotto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Agostino_Bertolotto property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3606722,P106,c(Q12737077))
action filter_type
action find
entity Q3606722
relation P106
type Q12737077
As [ANSWER] is the profession of Agostino Bertolotto
['Q3606722', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3606722 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
As association football player is the profession of Agostino Bertolotto
association football player
action filter_type
action find
entity Agostino Bertolotto
relation occupation
type occupation
['Agostino Bertolotto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Agostino_Bertolotto property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3606722
P21
Q290
USER
Which sex does Agostino Bertolotto belong to ?
(Q3606722,P21,c(Q290))
action filter_type
action find
entity Q3606722
relation P21
type Q290
['Q3606722', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3606722 property:P21 ?s . ?s rdf:type ontology:Q290 }
Agostino Bertolotto
action filter_type
action find
entity Agostino Bertolotto
relation gender
type sex
['Agostino Bertolotto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Agostino_Bertolotto property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3606722,P21,c(Q290))
action filter_type
action find
entity Q3606722
relation P21
type Q290
Agostino Bertolotto belongs to [ANSWER]
['Q3606722', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3606722 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Agostino Bertolotto belongs to male
male
action filter_type
action find
entity Agostino Bertolotto
relation gender
type sex
['Agostino Bertolotto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Agostino_Bertolotto property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3606722
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3606722
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3606722 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Agostino Bertolotto
action filter_type
action find
entity Agostino Bertolotto
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Agostino_Bertolotto property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3606722
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3606722 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Italy
That person belongs to the Italy
Italy
action filter_type
action find
entity Agostino Bertolotto
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Agostino_Bertolotto property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3606722
P19
Q15617994
USER
Which administrative territory was that person born at ?
(Q38,P19,c(Q15617994))
action filter_type
action find
entity Q3606722
relation P19
type Q15617994
['Q38', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3606722 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Agostino Bertolotto
action filter_type
action find
entity Agostino Bertolotto
relation place of birth
type designation for an administrative territorial entity
['Italy', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Agostino_Bertolotto property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13320
SYSTEM
Savona
Q13320
(Q38,P19,c(Q15617994))
action filter_type
action find
entity Q3606722
relation P19
type Q15617994
That person was born in [ANSWER]
['Q38', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3606722 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Savona
That person was born in Savona
Savona
action filter_type
action find
entity Agostino Bertolotto
relation place of birth
type designation for an administrative territorial entity
['Italy', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Agostino_Bertolotto property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with atleast 70 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 70
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?f >= 70 ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?f ) WHERE { ?d property:P530 ?x . ?d rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?d } }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 70
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?f >= 70 ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?f ) WHERE { ?d property:diplomatic_relation ?x . ?d rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 70
[ANSWERS] are known to have diplomatic connections with atleast 70 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?f >= 70 ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?f ) WHERE { ?d property:P530 ?x . ?d rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?d } }
Germany Australia
Germany and Australia are known to have diplomatic connections with atleast 70 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 70
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?f >= 70 ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?f ) WHERE { ?d property:diplomatic_relation ?x . ?d rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q111646
P27
Q502895
USER
Are Ludwig Becker a citizen of those political territories ?
(Q111646,P27,Q183) (Q111646,P27,Q408)
action is_in
entity prev_answer
action find
entity Q111646
relation P27
['Q111646', 'P27', 'Q183'] ['Q111646', 'P27', 'Q408']
ASK WHERE { resource:Q111646 property:P27 ?d . VALUES ( ?d ) { ( resource:Q183 ) ( resource:Q408 ) } }
Ludwig Becker
action is_in
entity prev_answer
action find
entity Ludwig Becker
relation country of citizenship
['Ludwig Becker', 'country of citizenship', 'Germany'] ['Ludwig Becker', 'country of citizenship', 'Australia']
ASK WHERE { resource:Ludwig_Becker property:country_of_citizenship ?d . VALUES ( ?d ) { ( resource:Germany ) ( resource:Australia ) } }
[]
common name
SYSTEM
YES
(Q111646,P27,Q183) (Q111646,P27,Q408)
action is_in
entity prev_answer
action find
entity Q111646
relation P27
[ANSWER]
['Q111646', 'P27', 'Q183'] ['Q111646', 'P27', 'Q408']
ASK WHERE { resource:Q111646 property:P27 ?d . VALUES ( ?d ) { ( resource:Q183 ) ( resource:Q408 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ludwig Becker
relation country of citizenship
['Ludwig Becker', 'country of citizenship', 'Germany'] ['Ludwig Becker', 'country of citizenship', 'Australia']
ASK WHERE { resource:Ludwig_Becker property:country_of_citizenship ?d . VALUES ( ?d ) { ( resource:Germany ) ( resource:Australia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q1048835 Q83620 Q14524493
USER
How many political territories are atleast 1880 thoroughfares or terrains present in ?
(c(Q83620)|c(Q14524493),P17,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q14524493
value 1880
[[{'concept': 'Q83620'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?r WHERE { { ?o property:P17 ?r . ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q83620 } UNION { ?o property:P17 ?r . ?o rdf:type ontology:Q14524493 . ?r rdf:type ontology:Q1048835 } } GROUP BY ?r } . FILTER ( ?j >= 1880 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type political territorial entity
type terrain
value 1880
[[{'concept': 'thoroughfare'}, {'concept': 'terrain'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?r WHERE { { ?o property:country ?r . ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:thoroughfare } UNION { ?o property:country ?r . ?o rdf:type ontology:terrain . ?r rdf:type ontology:political_territorial_entity } } GROUP BY ?r } . FILTER ( ?j >= 1880 ) }
[]
political territorial entity thoroughfare terrain
SYSTEM
3
Q183 Q16 Q408
(c(Q83620)|c(Q14524493),P17,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q14524493
value 1880
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?r WHERE { { ?o property:P17 ?r . ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q83620 } UNION { ?o property:P17 ?r . ?o rdf:type ontology:Q14524493 . ?r rdf:type ontology:Q1048835 } } GROUP BY ?r } . FILTER ( ?j >= 1880 ) }
Germany Canada Australia
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type political territorial entity
type terrain
value 1880
[[{'concept': 'thoroughfare'}, {'concept': 'terrain'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?r WHERE { { ?o property:country ?r . ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:thoroughfare } UNION { ?o property:country ?r . ?o rdf:type ontology:terrain . ?r rdf:type ontology:political_territorial_entity } } GROUP BY ?r } . FILTER ( ?j >= 1880 ) }
[]