Simple Question (Direct)
Simple Question
Q967250
P495
Q15617994
USER
What is the origin of I Married a Woman ?
(Q967250,P495,c(Q15617994))
action filter_type
action find
entity Q967250
relation P495
type Q15617994
['Q967250', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q967250 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
I Married a Woman
action filter_type
action find
entity I Married a Woman
relation country of origin
type designation for an administrative territorial entity
['I Married a Woman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:I_Married_a_Woman property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q967250,P495,c(Q15617994))
action filter_type
action find
entity Q967250
relation P495
type Q15617994
The origin of I Married a Woman is the [ANSWER]
['Q967250', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q967250 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
The origin of I Married a Woman is the United States of America
United States of America
action filter_type
action find
entity I Married a Woman
relation country of origin
type designation for an administrative territorial entity
['I Married a Woman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:I_Married_a_Woman property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q967250
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q30,P364,c(Q34770))
action filter_type
action find
entity Q967250
relation P364
type Q34770
['Q30', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34770 . resource:Q967250 property:P364 ?z }
I Married a Woman
action filter_type
action find
entity I Married a Woman
relation original language of work
type language
['United States of America', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:language . resource:I_Married_a_Woman property:original_language_of_work ?z }
[]
language
Q1860
SYSTEM
English
Q1860
(Q30,P364,c(Q34770))
action filter_type
action find
entity Q967250
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q30', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34770 . resource:Q967250 property:P364 ?z }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity I Married a Woman
relation original language of work
type language
['United States of America', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:language . resource:I_Married_a_Woman property:original_language_of_work ?z }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2395382
P37
Q34770 Q56061
USER
How many administrative territories are more number of languages associated to as the official language than La Concordia ?
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q2395382
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?h ) WHERE { ?t property:P37 ?q . ?q rdf:type ontology:Q34770 . ?t rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q2395382 property:P37 ?b . ?b rdf:type ontology:Q56061 } } . FILTER ( ?h > ?c ) }
La Concordia
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity La Concordia
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?h ) WHERE { ?t property:official_language ?q . ?q rdf:type ontology:language . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:La_Concordia property:official_language ?b . ?b rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?h > ?c ) }
[]
language administrative territorial entity
SYSTEM
3
Q237 Q458 Q1183
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q2395382
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?h ) WHERE { ?t property:P37 ?q . ?q rdf:type ontology:Q34770 . ?t rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q2395382 property:P37 ?b . ?b rdf:type ontology:Q56061 } } . FILTER ( ?h > ?c ) }
Vatican City European Union Puerto Rico
3
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity La Concordia
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?h ) WHERE { ?t property:official_language ?q . ?q rdf:type ontology:language . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:La_Concordia property:official_language ?b . ?b rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?h > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q69639
P37
Q34770 Q56061
USER
And what about Göschenen?
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q69639
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ontology:Q56061 . resource:Q69639 property:P37 ?t } } . FILTER ( ?x > ?m ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?x ) WHERE { ?g property:P37 ?j . ?g rdf:type ontology:Q56061 . ?j rdf:type ontology:Q34770 } GROUP BY ?g } }
Göschenen
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Göschenen
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Göschenen property:official_language ?t } } . FILTER ( ?x > ?m ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?x ) WHERE { ?g property:official_language ?j . ?g rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:language } GROUP BY ?g } }
[]
language administrative territorial entity
SYSTEM
52
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q69639
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ontology:Q56061 . resource:Q69639 property:P37 ?t } } . FILTER ( ?x > ?m ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?x ) WHERE { ?g property:P37 ?j . ?g rdf:type ontology:Q56061 . ?j rdf:type ontology:Q34770 } GROUP BY ?g } }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
52
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Göschenen
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Göschenen property:official_language ?t } } . FILTER ( ?x > ?m ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?x ) WHERE { ?g property:official_language ?j . ?g rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:language } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q967250
P344
Q502895
USER
Who is the cinematographer of I Married a Woman ?
(Q967250,P344,c(Q502895))
action filter_type
action find
entity Q967250
relation P344
type Q502895
['Q967250', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q967250 property:P344 ?t . ?t rdf:type ontology:Q502895 }
I Married a Woman
action filter_type
action find
entity I Married a Woman
relation director of photography
type common name
['I Married a Woman', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:I_Married_a_Woman property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
common name
Q348093
SYSTEM
Lucien Ballard
Q348093
(Q967250,P344,c(Q502895))
action filter_type
action find
entity Q967250
relation P344
type Q502895
The cinematographer of I is Married à [ANSWER]
['Q967250', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q967250 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Lucien Ballard
The cinematographer of I is Married à Lucien Ballard
Lucien Ballard
action filter_type
action find
entity I Married a Woman
relation director of photography
type common name
['I Married a Woman', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:I_Married_a_Woman property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]