Simple Question (Direct)
Simple Question
Q970462
P641
Q349
USER
What did Víctor Díaz Miguel participate in ?
(Q970462,P641,c(Q349))
action filter_type
action find
entity Q970462
relation P641
type Q349
['Q970462', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q970462 property:P641 ?m . ?m rdf:type ontology:Q349 }
Víctor Díaz Miguel
action filter_type
action find
entity Víctor Díaz Miguel
relation sport
type sport
['Víctor Díaz Miguel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Víctor_Díaz_Miguel property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q970462,P641,c(Q349))
action filter_type
action find
entity Q970462
relation P641
type Q349
Víctor Díaz Miguel participated in [ANSWER]
['Q970462', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q970462 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Víctor Díaz Miguel participated in association football
association football
action filter_type
action find
entity Víctor Díaz Miguel
relation sport
type sport
['Víctor Díaz Miguel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Víctor_Díaz_Miguel property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q970462
P21
Q290
USER
Which sex does Víctor Díaz Miguel have ?
(Q970462,P21,c(Q290))
action filter_type
action find
entity Q970462
relation P21
type Q290
['Q970462', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q970462 property:P21 ?d }
Víctor Díaz Miguel
action filter_type
action find
entity Víctor Díaz Miguel
relation gender
type sex
['Víctor Díaz Miguel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Víctor_Díaz_Miguel property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q970462,P21,c(Q290))
action filter_type
action find
entity Q970462
relation P21
type Q290
Víctor Díaz Miguel has a [ANSWER]
['Q970462', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q970462 property:P21 ?d }
male
Víctor Díaz Miguel has a male
male
action filter_type
action find
entity Víctor Díaz Miguel
relation gender
type sex
['Víctor Díaz Miguel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Víctor_Díaz_Miguel property:gender ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6142121
Q290
USER
And how about James Riordan?
(Q6142121,P21,c(Q290))
action filter_type
action find
entity Q6142121
relation P21
type Q290
['Q6142121', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q6142121 property:P21 ?u . ?u rdf:type ontology:Q290 }
James Riordan
action filter_type
action find
entity James Riordan
relation gender
type sex
['James Riordan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:James_Riordan property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6142121,P21,c(Q290))
action filter_type
action find
entity Q6142121
relation P21
type Q290
[ANSWER]
['Q6142121', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q6142121 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity James Riordan
relation gender
type sex
['James Riordan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:James_Riordan property:gender ?u . ?u rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q930348
P21
Q502895
USER
Is Andrés Orozco a that sex ?
(Q930348,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q930348
relation P21
['Q930348', 'P21', 'Q6581097']
ASK WHERE { resource:Q930348 property:P21 resource:Q6581097 }
male Andrés Orozco
action is_in
entity male
action find
entity Andrés Orozco
relation gender
['Andrés Orozco', 'gender', 'male']
ASK WHERE { resource:Andrés_Orozco property:gender resource:male }
[]
common name
SYSTEM
YES
(Q930348,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q930348
relation P21
[ANSWER]
['Q930348', 'P21', 'Q6581097']
ASK WHERE { resource:Q930348 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Andrés Orozco
relation gender
['Andrés Orozco', 'gender', 'male']
ASK WHERE { resource:Andrés_Orozco property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q193121
P136
Q502895
USER
How many people as male or epigram as their class ?
(c(Q502895),P136,Q6581097) (c(Q502895),P136,Q193121)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
action filter_type
action find_reverse
entity Q193121
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097'] [{'concept': 'Q502895'}, 'P136', 'Q193121']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { ?b property:P136 resource:Q6581097 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P136 resource:Q193121 . ?b rdf:type ontology:Q502895 } }
male epigram
action count
action union
action filter_type
action find_reverse
entity male
relation genre
type common name
action filter_type
action find_reverse
entity epigram
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male'] [{'concept': 'common name'}, 'genre', 'epigram']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { ?b property:genre resource:male . ?b rdf:type ontology:common_name } UNION { ?b property:genre resource:epigram . ?b rdf:type ontology:common_name } }
[]
common name
SYSTEM
5
Q19796723 Q23766532 Q441460 Q313288 Q18221191
(c(Q502895),P136,Q6581097) (c(Q502895),P136,Q193121)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
action filter_type
action find_reverse
entity Q193121
relation P136
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q6581097'] [{'concept': 'Q502895'}, 'P136', 'Q193121']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { ?b property:P136 resource:Q6581097 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P136 resource:Q193121 . ?b rdf:type ontology:Q502895 } }
Francesc Xavier Avilés i Puigvert Pierre Laviron Meleager of Gadara Augustus Pugin Alessandro Gregorio Capponi
5
action count
action union
action filter_type
action find_reverse
entity male
relation genre
type common name
action filter_type
action find_reverse
entity epigram
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male'] [{'concept': 'common name'}, 'genre', 'epigram']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { ?b property:genre resource:male . ?b rdf:type ontology:common_name } UNION { ?b property:genre resource:epigram . ?b rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q970462
P1412
Q34770
USER
Which language does Víctor Díaz Miguel speak in ?
(Q970462,P1412,c(Q34770))
action filter_type
action find
entity Q970462
relation P1412
type Q34770
['Q970462', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q970462 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Víctor Díaz Miguel
action filter_type
action find
entity Víctor Díaz Miguel
relation languages spoken, written or signed
type language
['Víctor Díaz Miguel', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Víctor_Díaz_Miguel property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q970462,P1412,c(Q34770))
action filter_type
action find
entity Q970462
relation P1412
type Q34770
Víctor Díaz Miguel speaks to [ANSWER]
['Q970462', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q970462 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Víctor Díaz Miguel speaks to Spanish
Spanish
action filter_type
action find
entity Víctor Díaz Miguel
relation languages spoken, written or signed
type language
['Víctor Díaz Miguel', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Víctor_Díaz_Miguel property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q68103
P37
Q34770 Q56061
USER
How many administrative territories have their official language as greater number of languages than Interlaken ?
(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 Q68103
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?m ) WHERE { ?p property:P37 ?s . ?p rdf:type ontology:Q56061 . ?s rdf:type ontology:Q34770 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q68103 property:P37 ?r . ?r rdf:type ontology:Q56061 } } . FILTER ( ?m > ?t ) }
Interlaken
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 Interlaken
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?m ) WHERE { ?p property:official_language ?s . ?p rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:language } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Interlaken property:official_language ?r . ?r rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?m > ?t ) }
[]
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 Q68103
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?m ) WHERE { ?p property:P37 ?s . ?p rdf:type ontology:Q56061 . ?s rdf:type ontology:Q34770 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q68103 property:P37 ?r . ?r rdf:type ontology:Q56061 } } . FILTER ( ?m > ?t ) }
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 Interlaken
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?m ) WHERE { ?p property:official_language ?s . ?p rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:language } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Interlaken property:official_language ?r . ?r rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?m > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1353
P37
Q34770 Q56061
USER
And also tell me about Delhi?
(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 Q1353
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?m ) WHERE { ?p property:P37 ?w . ?p rdf:type ontology:Q56061 . ?w rdf:type ontology:Q34770 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q1353 property:P37 ?o . ?o rdf:type ontology:Q56061 } } . FILTER ( ?m > ?a ) }
Delhi
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 Delhi
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?m ) WHERE { ?p property:official_language ?w . ?p rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:language } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Delhi property:official_language ?o . ?o rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?m > ?a ) }
[]
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 Q1353
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?m ) WHERE { ?p property:P37 ?w . ?p rdf:type ontology:Q56061 . ?w rdf:type ontology:Q34770 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q1353 property:P37 ?o . ?o rdf:type ontology:Q56061 } } . FILTER ( ?m > ?a ) }
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 Delhi
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?m ) WHERE { ?p property:official_language ?w . ?p rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:language } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Delhi property:official_language ?o . ?o rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?m > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q970462
P106
Q12737077
USER
Which occupation is the profession of Víctor Díaz Miguel ?
(Q970462,P106,c(Q12737077))
action filter_type
action find
entity Q970462
relation P106
type Q12737077
['Q970462', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q970462 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Víctor Díaz Miguel
action filter_type
action find
entity Víctor Díaz Miguel
relation occupation
type occupation
['Víctor Díaz Miguel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Víctor_Díaz_Miguel property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q970462,P106,c(Q12737077))
action filter_type
action find
entity Q970462
relation P106
type Q12737077
[ANSWER] is the profession of Víctor Díaz Miguel
['Q970462', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q970462 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
Association football player is the profession of Víctor Díaz Miguel
association football player
action filter_type
action find
entity Víctor Díaz Miguel
relation occupation
type occupation
['Víctor Díaz Miguel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Víctor_Díaz_Miguel property:occupation ?z . ?z rdf:type ontology:occupation }
[]