Simple Question (Direct)
Simple Question
Q4004228
P495
Q15617994
USER
What is the country of origin of A Perfect Family ?
(Q4004228,P495,c(Q15617994))
action filter_type
action find
entity Q4004228
relation P495
type Q15617994
['Q4004228', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4004228 property:P495 ?a . ?a rdf:type ontology:Q15617994 }
A Perfect Family
action filter_type
action find
entity A Perfect Family
relation country of origin
type designation for an administrative territorial entity
['A Perfect Family', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:A_Perfect_Family property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q4004228,P495,c(Q15617994))
action filter_type
action find
entity Q4004228
relation P495
type Q15617994
The country of origin of A Perfect Family is in [ANSWER]
['Q4004228', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4004228 property:P495 ?a . ?a rdf:type ontology:Q15617994 }
Italy
The country of origin of A Perfect Family is in Italy
Italy
action filter_type
action find
entity A Perfect Family
relation country of origin
type designation for an administrative territorial entity
['A Perfect Family', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:A_Perfect_Family property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P276
Q43229
USER
Which organizations are situated at that administrative territory ?
(c(Q43229),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q43229
[{'concept': 'Q43229'}, 'P276', 'Q38']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q43229 . ?h property:P276 resource:Q38 }
Italy
action filter_type
action find_reverse
entity Italy
relation location
type organization
[{'concept': 'organization'}, 'location', 'Italy']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:organization . ?h property:location resource:Italy }
[]
organization
Q24037933 Q24060615 Q24037875
SYSTEM
Audax Energy, Edison Energia, Northern Petroleum (GB)
Q24060615 Q24037875 Q24035181 Q24037933 Q24037786 Q24035625 Q24035107
(c(Q43229),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q43229
[ANSWERS] are situated at that administrative territory
[{'concept': 'Q43229'}, 'P276', 'Q38']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q43229 . ?h property:P276 resource:Q38 }
Edison Energia Northern Petroleum (GB) Apennine Energy Audax Energy Shell Italia Petroceltic Italia Po Valley Energy Limited
Audax Energy, Edison Energia and Northern Petroleum (GB) are situated at that administrative territory
Audax Energy Edison Energia Northern Petroleum (GB)
action filter_type
action find_reverse
entity Italy
relation location
type organization
[{'concept': 'organization'}, 'location', 'Italy']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:organization . ?h property:location resource:Italy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P37
Q34770
USER
What is the official language of that administrative territory ?
(Q24037933,P37,c(Q34770)) (Q24060615,P37,c(Q34770)) (Q24037875,P37,c(Q34770))
action filter_type
action find
entity Q38
relation P37
type Q34770
['Q24037933', 'P37', {'concept': 'Q34770'}] ['Q24060615', 'P37', {'concept': 'Q34770'}] ['Q24037875', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q38 property:P37 ?m . ?m rdf:type ontology:Q34770 }
Italy
action filter_type
action find
entity Italy
relation official language
type language
['Audax Energy', 'official language', {'concept': 'language'}] ['Edison Energia', 'official language', {'concept': 'language'}] ['Northern Petroleum (GB)', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Italy property:official_language ?m . ?m rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q24037933,P37,c(Q34770)) (Q24060615,P37,c(Q34770)) (Q24037875,P37,c(Q34770))
action filter_type
action find
entity Q38
relation P37
type Q34770
The official language of that administrative territory is the [ANSWER]
['Q24037933', 'P37', {'concept': 'Q34770'}] ['Q24060615', 'P37', {'concept': 'Q34770'}] ['Q24037875', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q38 property:P37 ?m . ?m rdf:type ontology:Q34770 }
Italian
The official language of that administrative territory is the Italian
Italian
action filter_type
action find
entity Italy
relation official language
type language
['Audax Energy', 'official language', {'concept': 'language'}] ['Edison Energia', 'official language', {'concept': 'language'}] ['Northern Petroleum (GB)', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Italy property:official_language ?m . ?m rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q2001982 Q34770
USER
Which notations are the writing systems of atmost 1 language known as ?
(c(Q34770),P282,c(Q2001982))
action atmost
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P282 ?q . ?n rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2001982 } GROUP BY ?q } . FILTER ( ?i <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:writing_system ?q . ?n rdf:type ontology:language . ?q rdf:type ontology:notation } GROUP BY ?q } . FILTER ( ?i <= 1 ) }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q82772 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q1771716 Q26978 Q3322653 Q1089000 Q790681 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action atmost
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P282 ?q . ?n rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2001982 } GROUP BY ?q } . FILTER ( ?i <= 1 ) }
Manichaean alphabet kanji Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Pahlavi scripts Aramaic alphabet Southwest Paleohispanic script Sarati Avestan alphabet Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Cirth Tengwar Sarati
action atmost
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:writing_system ?q . ?n rdf:type ontology:language . ?q rdf:type ontology:notation } GROUP BY ?q } . FILTER ( ?i <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q38
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Italy ?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q38 property:P530 ?h . ?h rdf:type ontology:Q15617994 }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Italy property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q38 property:P530 ?h . ?h rdf:type ontology:Q15617994 }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Italy property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011
P1532
Q502895
USER
Whose person is Cape Verde ?
(c(Q502895),P1532,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q1011']
SELECT DISTINCT ?w WHERE { ?w property:P1532 resource:Q1011 . ?w rdf:type ontology:Q502895 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Cape Verde']
SELECT DISTINCT ?w WHERE { ?w property:country_for_sport resource:Cape_Verde . ?w rdf:type ontology:common_name }
[]
common name
Q24260171
SYSTEM
Jordin Andrade
Q24260171
(c(Q502895),P1532,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1532
type Q502895
[ANSWER] is Cape Verde
[{'concept': 'Q502895'}, 'P1532', 'Q1011']
SELECT DISTINCT ?w WHERE { ?w property:P1532 resource:Q1011 . ?w rdf:type ontology:Q502895 }
Jordin Andrade
Jordin Andrade is Cape Verde
Jordin Andrade
action filter_type
action find_reverse
entity Cape Verde
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Cape Verde']
SELECT DISTINCT ?w WHERE { ?w property:country_for_sport resource:Cape_Verde . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011
P1376
Q515
USER
Which city is the county seat of Cape Verde ?
(c(Q515),P1376,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q1011']
SELECT DISTINCT ?o WHERE { ?o property:P1376 resource:Q1011 . ?o rdf:type ontology:Q515 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Cape Verde']
SELECT DISTINCT ?o WHERE { ?o property:capital_of resource:Cape_Verde . ?o rdf:type ontology:city }
[]
city
Q3751
SYSTEM
Praia
Q3751
(c(Q515),P1376,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1376
type Q515
The [ANSWER] is the county seat of Cape Verde
[{'concept': 'Q515'}, 'P1376', 'Q1011']
SELECT DISTINCT ?o WHERE { ?o property:P1376 resource:Q1011 . ?o rdf:type ontology:Q515 }
Praia
The Praia is the county seat of Cape Verde
Praia
action filter_type
action find_reverse
entity Cape Verde
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Cape Verde']
SELECT DISTINCT ?o WHERE { ?o property:capital_of resource:Cape_Verde . ?o rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1011
P6
Q502895
USER
Which person does that administrative territory serve as the head of government for ?
(Q3751,P6,c(Q502895))
action filter_type
action find
entity Q1011
relation P6
type Q502895
['Q3751', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q1011 property:P6 ?q }
Cape Verde
action filter_type
action find
entity Cape Verde
relation head of government
type common name
['Praia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Cape_Verde property:head_of_government ?q }
[]
common name
Q23899522
SYSTEM
Ulisses Correia e Silva
Q23899522
(Q3751,P6,c(Q502895))
action filter_type
action find
entity Q1011
relation P6
type Q502895
[ANSWER] that administrative territory serves as the head of government for
['Q3751', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q1011 property:P6 ?q }
Ulisses Correia e Silva
Ulisses Correia e Silva that administrative territory serves as the head of government for
Ulisses Correia e Silva
action filter_type
action find
entity Cape Verde
relation head of government
type common name
['Praia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Cape_Verde property:head_of_government ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23899522
P106
Q12737077
USER
What does that person do for a living ?
(Q23899522,P106,c(Q12737077))
action filter_type
action find
entity Q23899522
relation P106
type Q12737077
['Q23899522', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q23899522 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Ulisses Correia e Silva
action filter_type
action find
entity Ulisses Correia e Silva
relation occupation
type occupation
['Ulisses Correia e Silva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ulisses_Correia_e_Silva property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q23899522,P106,c(Q12737077))
action filter_type
action find
entity Q23899522
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q23899522', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q23899522 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Ulisses Correia e Silva
relation occupation
type occupation
['Ulisses Correia e Silva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ulisses_Correia_e_Silva property:occupation ?h . ?h rdf:type ontology:occupation }
[]