Simple Question (Direct)
Simple Question
Q4762909
P19
Q15617994
USER
Which administrative territory is the place of birth of Angelo Marchi ?
(Q4762909,P19,c(Q15617994))
action filter_type
action find
entity Q4762909
relation P19
type Q15617994
['Q4762909', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q4762909 property:P19 ?b . ?b rdf:type ontology:Q15617994 }
Angelo Marchi
action filter_type
action find
entity Angelo Marchi
relation place of birth
type designation for an administrative territorial entity
['Angelo Marchi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Angelo_Marchi property:place_of_birth ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q42784
SYSTEM
Rho
Q42784
(Q4762909,P19,c(Q15617994))
action filter_type
action find
entity Q4762909
relation P19
type Q15617994
[ANSWER] is the place of birth of Angelo Marchi
['Q4762909', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q4762909 property:P19 ?b . ?b rdf:type ontology:Q15617994 }
Rho
Rho is the place of birth of Angelo Marchi
Rho
action filter_type
action find
entity Angelo Marchi
relation place of birth
type designation for an administrative territorial entity
['Angelo Marchi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Angelo_Marchi property:place_of_birth ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4762909
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q42784,P106,c(Q12737077))
action filter_type
action find
entity Q4762909
relation P106
type Q12737077
['Q42784', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q4762909 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Angelo Marchi
action filter_type
action find
entity Angelo Marchi
relation occupation
type occupation
['Rho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Angelo_Marchi property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q42784,P106,c(Q12737077))
action filter_type
action find
entity Q4762909
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q42784', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q4762909 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Angelo Marchi
relation occupation
type occupation
['Rho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Angelo_Marchi property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4762909
P641
Q349
USER
Which sport was Angelo Marchi a part of ?
(Q4762909,P641,c(Q349))
action filter_type
action find
entity Q4762909
relation P641
type Q349
['Q4762909', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4762909 property:P641 ?s . ?s rdf:type ontology:Q349 }
Angelo Marchi
action filter_type
action find
entity Angelo Marchi
relation sport
type sport
['Angelo Marchi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Angelo_Marchi property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4762909,P641,c(Q349))
action filter_type
action find
entity Q4762909
relation P641
type Q349
Which sport was Angelo Marchi a part of
['Q4762909', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4762909 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Which sport was Angelo Marchi a part of
association football
action filter_type
action find
entity Angelo Marchi
relation sport
type sport
['Angelo Marchi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Angelo_Marchi property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4762909
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4762909
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4762909 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Angelo Marchi
action filter_type
action find
entity Angelo Marchi
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Angelo_Marchi property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4762909
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4762909 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Italy
The Italy is that person an inhabitant of
Italy
action filter_type
action find
entity Angelo Marchi
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Angelo_Marchi property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with less number of administrative territories than Antigua and Barbuda ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?b ) WHERE { ?p property:P530 ?f . ?p rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q781 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?b < ?y ) }
Antigua and Barbuda
action less
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 Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?b ) WHERE { ?p property:diplomatic_relation ?f . ?p rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?b < ?y ) }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with less number of administrative territories than Antigua and Barbuda
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?b ) WHERE { ?p property:P530 ?f . ?p rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q781 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?b < ?y ) }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relations with less number of administrative territories than Antigua and Barbuda
Solomon Islands Papua New Guinea
action less
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 Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?b ) WHERE { ?p property:diplomatic_relation ?f . ?p rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?b < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q778
P530
Q1048835 Q15617994
USER
And what about The Bahamas?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?d ) WHERE { ?z rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 . ?z property:P530 ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q778 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?d < ?q ) }
The Bahamas
action less
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 The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?d ) WHERE { ?z rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:The_Bahamas property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?d < ?q ) }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?d ) WHERE { ?z rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 . ?z property:P530 ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q778 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?d < ?q ) }
Solomon Islands Papua New Guinea
Solomon Islands Papua New Guinea
action less
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 The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?d ) WHERE { ?z rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:The_Bahamas property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?d < ?q ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q1048835
USER
How many political territories have diplomatic relationships with that political territory ?
(Q685,P530,c(Q1048835))
['Q685', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q148966 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
['Solomon Islands', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q691
SYSTEM
Did you mean Papua New Guinea ?
(Q685,P530,c(Q1048835)) (Q691,P530,c(Q1048835))
[ANSWER]
['Q685', 'P530', {'concept': 'Q1048835'}] ['Q691', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q148966 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Papua New Guinea ?
Papua New Guinea
['Solomon Islands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Papua New Guinea', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Solomon Islands. Could you tell me the answer for that?
(Q685,P530,c(Q1048835))
Q685
['Q685', 'P530', {'concept': 'Q1048835'}]
['Solomon Islands', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q408
(Q685,P530,c(Q1048835))
[ANSWER]
['Q685', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q148966 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Australia
1
['Solomon Islands', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P35
Q502895
USER
Which people have the highest formal authority in Italy ?
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q38 property:P35 ?o }
Italy
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Italy property:head_of_state ?o }
[]
common name
Q1224 Q3956186 Q1242
SYSTEM
Carlo Azeglio Ciampi, Sergio Mattarella, Luigi Einaudi
Q1224 Q1245 Q3956186 Q1241 Q1240 Q1242 Q1238 Q153832 Q1228 Q1230 Q1233 Q1235 Q1220
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
[ANSWERS] have the highest formal authority in Italy
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q38 property:P35 ?o }
Carlo Azeglio Ciampi Enrico De Nicola Sergio Mattarella Giovanni Gronchi Antonio Segni Luigi Einaudi Giuseppe Saragat Alcide De Gasperi Oscar Luigi Scalfaro Francesco Cossiga Sandro Pertini Giovanni Leone Giorgio Napolitano
Carlo Azeglio Ciampi, Sergio Mattarella and Luigi Einaudi have the highest formal authority in Italy
Carlo Azeglio Ciampi Sergio Mattarella Luigi Einaudi
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Italy property:head_of_state ?o }
[]