Simple Question (Direct)
Simple Question
Q3897156
P27
Q15617994
USER
Which administrative territory is the native country of Pasquale Traini ?
(Q3897156,P27,c(Q15617994))
action filter_type
action find
entity Q3897156
relation P27
type Q15617994
['Q3897156', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3897156 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Pasquale Traini
action filter_type
action find
entity Pasquale Traini
relation country of citizenship
type designation for an administrative territorial entity
['Pasquale Traini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Pasquale_Traini property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3897156,P27,c(Q15617994))
action filter_type
action find
entity Q3897156
relation P27
type Q15617994
[ANSWER] is the native country of Pasquale Traini
['Q3897156', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3897156 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Italy
Italy is the native country of Pasquale Traini
Italy
action filter_type
action find
entity Pasquale Traini
relation country of citizenship
type designation for an administrative territorial entity
['Pasquale Traini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Pasquale_Traini property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3897156
P21
Q290
USER
Which sex does that person possess ?
(Q38,P21,c(Q290))
action filter_type
action find
entity Q3897156
relation P21
type Q290
['Q38', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q3897156 property:P21 ?z . ?z rdf:type ontology:Q290 }
Pasquale Traini
action filter_type
action find
entity Pasquale Traini
relation gender
type sex
['Italy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Pasquale_Traini property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q38,P21,c(Q290))
action filter_type
action find
entity Q3897156
relation P21
type Q290
That person possesses a [ANSWER]
['Q38', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q3897156 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Pasquale Traini
relation gender
type sex
['Italy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Pasquale_Traini property:gender ?z . ?z rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q5930180
P21
Q502895
USER
Is Hugh Burns a that sex ?
(Q5930180,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5930180
relation P21
['Q5930180', 'P21', 'Q6581097']
ASK WHERE { resource:Q5930180 property:P21 resource:Q6581097 }
male Hugh Burns
action is_in
entity male
action find
entity Hugh Burns
relation gender
['Hugh Burns', 'gender', 'male']
ASK WHERE { resource:Hugh_Burns property:gender resource:male }
[]
common name
SYSTEM
YES
(Q5930180,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5930180
relation P21
[ANSWER]
['Q5930180', 'P21', 'Q6581097']
ASK WHERE { resource:Q5930180 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Hugh Burns
relation gender
['Hugh Burns', 'gender', 'male']
ASK WHERE { resource:Hugh_Burns property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P921
Q2342494
USER
Which collectable has Italy as its principal topic ?
(c(Q2342494),P921,Q38)
action filter_type
action find_reverse
entity Q38
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q38']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q38 . ?w rdf:type ontology:Q2342494 }
Italy
action filter_type
action find_reverse
entity Italy
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Italy']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:Italy . ?w rdf:type ontology:collectable }
[]
collectable
Q455305
SYSTEM
Italian Journey
Q455305
(c(Q2342494),P921,Q38)
action filter_type
action find_reverse
entity Q38
relation P921
type Q2342494
[ANSWER] has Italy as its principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q38']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q38 . ?w rdf:type ontology:Q2342494 }
Italian Journey
Italian Journey has Italy as its principal topic
Italian Journey
action filter_type
action find_reverse
entity Italy
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Italy']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:Italy . ?w rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P6
Q502895
USER
Who are the heads of the government of Italy ?
(Q38,P6,c(Q502895))
action filter_type
action find
entity Q38
relation P6
type Q502895
['Q38', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q38 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Italy
action filter_type
action find
entity Italy
relation head of government
type common name
['Italy', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Italy property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
Q47563 Q674957
SYSTEM
Matteo Renzi, Enrico Letta
Q47563 Q674957
(Q38,P6,c(Q502895))
action filter_type
action find
entity Q38
relation P6
type Q502895
The heads of the government of Italy are between [ANSWERS]
['Q38', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q38 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Matteo Renzi Enrico Letta
The heads of the government of Italy are between Matteo Renzi and Enrico Letta
Matteo Renzi Enrico Letta
action filter_type
action find
entity Italy
relation head of government
type common name
['Italy', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Italy property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q47563 Q674957
P102
Q7210356
USER
Which parties are Matteo Renzi and Enrico Letta affiliated with ?
(Q47563,P102,c(Q7210356)) (Q674957,P102,c(Q7210356))
action union
action filter_type
action find
entity Q47563
relation P102
type Q7210356
action filter_type
action find
entity Q674957
relation P102
type Q7210356
['Q47563', 'P102', {'concept': 'Q7210356'}] ['Q674957', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?x ) { ( resource:Q47563 ) ( resource:Q674957 ) } . ?x property:P102 ?k }
Matteo Renzi Enrico Letta
action union
action filter_type
action find
entity Matteo Renzi
relation member of political party
type political organization
action filter_type
action find
entity Enrico Letta
relation member of political party
type political organization
['Matteo Renzi', 'member of political party', {'concept': 'political organization'}] ['Enrico Letta', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?x ) { ( resource:Matteo_Renzi ) ( resource:Enrico_Letta ) } . ?x property:member_of_political_party ?k }
[]
political organization
Q47729 Q47729 Q1141788
SYSTEM
Democracy Is Freedom – The Daisy for 3rd, Democratic Party for 1st, 2nd
Q1259087 Q47729 Q1141788 Q1141788 Q815348 Q47729 Q1259087
(Q47563,P102,c(Q7210356)) (Q674957,P102,c(Q7210356))
action union
action filter_type
action find
entity Q47563
relation P102
type Q7210356
action filter_type
action find
entity Q674957
relation P102
type Q7210356
[ANSWERS]
['Q47563', 'P102', {'concept': 'Q7210356'}] ['Q674957', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?x ) { ( resource:Q47563 ) ( resource:Q674957 ) } . ?x property:P102 ?k }
Italian People's Party Democratic Party Democracy Is Freedom – The Daisy Democracy Is Freedom – The Daisy Christian Democracy Democratic Party Italian People's Party
Matteo Renzi and Enrico Letta are affiliated with Democratic Party, Democratic Party and Democracy Is Freedom – The Daisy
Democratic Party Democratic Party Democracy Is Freedom – The Daisy
action union
action filter_type
action find
entity Matteo Renzi
relation member of political party
type political organization
action filter_type
action find
entity Enrico Letta
relation member of political party
type political organization
['Matteo Renzi', 'member of political party', {'concept': 'political organization'}] ['Enrico Letta', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?x ) { ( resource:Matteo_Renzi ) ( resource:Enrico_Letta ) } . ?x property:member_of_political_party ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47563
P463
Q163740
USER
What was Matteo Renzi a member of ?
(Q47563,P463,c(Q163740))
action filter_type
action find
entity Q47563
relation P463
type Q163740
['Q47563', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q47563 property:P463 ?b . ?b rdf:type ontology:Q163740 }
Matteo Renzi
action filter_type
action find
entity Matteo Renzi
relation member of
type nonprofit organization
['Matteo Renzi', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Matteo_Renzi property:member_of ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q637335
SYSTEM
Associazione Guide e Scouts Cattolici Italiani
Q637335
(Q47563,P463,c(Q163740))
action filter_type
action find
entity Q47563
relation P463
type Q163740
Matteo Renzi was a member of the [ANSWER]
['Q47563', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q47563 property:P463 ?b . ?b rdf:type ontology:Q163740 }
Associazione Guide e Scouts Cattolici Italiani
Matteo Renzi was a member of the Associazione Guide e Scouts Cattolici Italiani
Associazione Guide e Scouts Cattolici Italiani
action filter_type
action find
entity Matteo Renzi
relation member of
type nonprofit organization
['Matteo Renzi', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Matteo_Renzi property:member_of ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47563
P26
Q502895
USER
Which person is married to that one ?
(Q637335,P26,c(Q502895))
action filter_type
action find
entity Q47563
relation P26
type Q502895
['Q637335', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q47563 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Matteo Renzi
action filter_type
action find
entity Matteo Renzi
relation spouse
type common name
['Associazione Guide e Scouts Cattolici Italiani', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Matteo_Renzi property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q18350440
SYSTEM
Agnese Landini
Q18350440
(Q637335,P26,c(Q502895))
action filter_type
action find
entity Q47563
relation P26
type Q502895
[ANSWER] is married to that one
['Q637335', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q47563 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Agnese Landini
Agnese Landini is married to that one
Agnese Landini
action filter_type
action find
entity Matteo Renzi
relation spouse
type common name
['Associazione Guide e Scouts Cattolici Italiani', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Matteo_Renzi property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47563
P138
Q7210356
USER
Which political organization is named after Matteo Renzi ?
(c(Q7210356),P138,Q47563)
action filter_type
action find_reverse
entity Q47563
relation P138
type Q7210356
[{'concept': 'Q7210356'}, 'P138', 'Q47563']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q47563 . ?t rdf:type ontology:Q7210356 }
Matteo Renzi
action filter_type
action find_reverse
entity Matteo Renzi
relation named after
type political organization
[{'concept': 'political organization'}, 'named after', 'Matteo Renzi']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Matteo_Renzi . ?t rdf:type ontology:political_organization }
[]
political organization
Q4905015
SYSTEM
Renziani
Q4905015
(c(Q7210356),P138,Q47563)
action filter_type
action find_reverse
entity Q47563
relation P138
type Q7210356
As [ANSWER] is named after Matteo Renzi
[{'concept': 'Q7210356'}, 'P138', 'Q47563']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q47563 . ?t rdf:type ontology:Q7210356 }
Renziani
As Renziani is named after Matteo Renzi
Renziani
action filter_type
action find_reverse
entity Matteo Renzi
relation named after
type political organization
[{'concept': 'political organization'}, 'named after', 'Matteo Renzi']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Matteo_Renzi . ?t rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47563
P937
Q56061
USER
Which administrative territory is the work location of that person ?
(Q4905015,P937,c(Q56061))
action filter_type
action find
entity Q47563
relation P937
type Q56061
['Q4905015', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q47563 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Matteo Renzi
action filter_type
action find
entity Matteo Renzi
relation work location
type administrative territorial entity
['Renziani', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Matteo_Renzi property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q4905015,P937,c(Q56061))
action filter_type
action find
entity Q47563
relation P937
type Q56061
[ANSWER] is the work location of that person
['Q4905015', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q47563 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Florence
Florence is the work location of that person
Florence
action filter_type
action find
entity Matteo Renzi
relation work location
type administrative territorial entity
['Renziani', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Matteo_Renzi property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have approximately 2 administrative territories as their registry harbour ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?m ) WHERE { ?x rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 . ?x property:P532 ?y } GROUP BY ?x } . FILTER ( ?m = 2 ) }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?m ) WHERE { ?x rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity . ?x property:port_of_registry ?y } GROUP BY ?x } . FILTER ( ?m = 2 ) }
[]
administrative territorial entity ship type
SYSTEM
4
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?m ) WHERE { ?x rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 . ?x property:P532 ?y } GROUP BY ?x } . FILTER ( ?m = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
4
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?m ) WHERE { ?x rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity . ?x property:port_of_registry ?y } GROUP BY ?x } . FILTER ( ?m = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2044
P190
Q515
USER
How many cities are twin towns of Florence ?
(Q2044,P190,c(Q515))
action count
action filter_type
action find
entity Q2044
relation P190
type Q515
['Q2044', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q2044 property:P190 ?h . ?h rdf:type ontology:Q515 }
Florence
action count
action filter_type
action find
entity Florence
relation sister city
type city
['Florence', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Florence property:sister_city ?h . ?h rdf:type ontology:city }
[]
city
SYSTEM
9
Q1731 Q1773 Q7786 Q19689 Q1899 Q2865 Q1953 Q5753 Q16666
(Q2044,P190,c(Q515))
action count
action filter_type
action find
entity Q2044
relation P190
type Q515
[ANSWER]
['Q2044', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q2044 property:P190 ?h . ?h rdf:type ontology:Q515 }
Dresden Riga Pekanbaru Tirana Kyiv Kassel Yerevan Samarkand Nanjing
9
action count
action filter_type
action find
entity Florence
relation sister city
type city
['Florence', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Florence property:sister_city ?h . ?h rdf:type ontology:city }
[]