Simple Question (Direct)
Simple Question
Q8078835
P1412
Q34770
USER
Which language is spoken by Óscar Londoño ?
(Q8078835,P1412,c(Q34770))
action filter_type
action find
entity Q8078835
relation P1412
type Q34770
['Q8078835', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q8078835 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Óscar Londoño
action filter_type
action find
entity Óscar Londoño
relation languages spoken, written or signed
type language
['Óscar Londoño', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Óscar_Londoño property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q8078835,P1412,c(Q34770))
action filter_type
action find
entity Q8078835
relation P1412
type Q34770
Is [ANSWER] is spoken by Óscar Londoño
['Q8078835', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q8078835 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Is Spanish is spoken by Óscar Londoño
Spanish
action filter_type
action find
entity Óscar Londoño
relation languages spoken, written or signed
type language
['Óscar Londoño', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Óscar_Londoño property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1321
P37
Q79913
USER
Which non-governmental organization is that one the official language of ?
(c(Q79913),P37,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P37
type Q79913
[{'concept': 'Q79913'}, 'P37', 'Q1321']
SELECT DISTINCT ?g WHERE { ?g property:P37 resource:Q1321 . ?g rdf:type ontology:Q79913 }
Spanish
action filter_type
action find_reverse
entity Spanish
relation official language
type non-governmental organization
[{'concept': 'non-governmental organization'}, 'official language', 'Spanish']
SELECT DISTINCT ?g WHERE { ?g property:official_language resource:Spanish . ?g rdf:type ontology:non-governmental_organization }
[]
non-governmental organization
Q3550306
SYSTEM
International association of lawyers
Q3550306
(c(Q79913),P37,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P37
type Q79913
[ANSWER] is that one the official language of
[{'concept': 'Q79913'}, 'P37', 'Q1321']
SELECT DISTINCT ?g WHERE { ?g property:P37 resource:Q1321 . ?g rdf:type ontology:Q79913 }
International association of lawyers
International association of lawyers is that one the official language of
International association of lawyers
action filter_type
action find_reverse
entity Spanish
relation official language
type non-governmental organization
[{'concept': 'non-governmental organization'}, 'official language', 'Spanish']
SELECT DISTINCT ?g WHERE { ?g property:official_language resource:Spanish . ?g rdf:type ontology:non-governmental_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3550306
P488
Q502895
USER
Who were the chairpersons of that non-governmental organization ?
(Q3550306,P488,c(Q502895))
action filter_type
action find
entity Q3550306
relation P488
type Q502895
['Q3550306', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3550306 property:P488 ?f . ?f rdf:type ontology:Q502895 }
International association of lawyers
action filter_type
action find
entity International association of lawyers
relation chairperson
type common name
['International association of lawyers', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:International_association_of_lawyers property:chairperson ?f . ?f rdf:type ontology:common_name }
[]
common name
Q2977729 Q355202 Q3370959
SYSTEM
Claude Lussan, Adelino da Palma Carlos, Paul Crokaert
Q2977729 Q3370959 Q355202 Q14541804 Q15884024 Q5660902 Q6256673 Q5941821 Q5524122 Q20642948 Q15876805 Q16438831
(Q3550306,P488,c(Q502895))
action filter_type
action find
entity Q3550306
relation P488
type Q502895
The chairpersons of that non-governmental organization were [ANSWERS]
['Q3550306', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3550306 property:P488 ?f . ?f rdf:type ontology:Q502895 }
Claude Lussan Paul Crokaert Adelino da Palma Carlos Aloïs Stompfe Willem Maurits de Brauw Harold H. Healy, Jr. Anders R. Öhman José Luis del Valle-Iturriaga Garry Downes Albert Henri Paul Zurfluh Jacob Hendrik de Brauw Ernest Arendt
The chairpersons of that non-governmental organization were Claude Lussan, Adelino da Palma Carlos and Paul Crokaert
Claude Lussan Adelino da Palma Carlos Paul Crokaert
action filter_type
action find
entity International association of lawyers
relation chairperson
type common name
['International association of lawyers', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:International_association_of_lawyers property:chairperson ?f . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q27187381 Q8078835
P641
Q349
USER
Which sports did Óscar Londoño and Lenos Kittos participate in ?
AND((Q8078835,P641,c(Q349)), (Q27187381,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q8078835
relation P641
action find
entity Q27187381
relation P641
type Q349
{'AND': [['Q8078835', 'P641', {'concept': 'Q349'}], ['Q27187381', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?h WHERE { resource:Q8078835 property:P641 ?h . resource:Q27187381 property:P641 ?h . ?h rdf:type ontology:Q349 }
Lenos Kittos Óscar Londoño
action filter_type
action intersection
action find
entity Óscar Londoño
relation sport
action find
entity Lenos Kittos
relation sport
type sport
{'AND': [['Óscar Londoño', 'sport', {'concept': 'sport'}], ['Lenos Kittos', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?h WHERE { resource:Óscar_Londoño property:sport ?h . resource:Lenos_Kittos property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q8078835,P641,c(Q349)), (Q27187381,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q8078835
relation P641
action find
entity Q27187381
relation P641
type Q349
Óscar Londoño and Lenos Kittos participated in [ANSWER]
{'AND': [['Q8078835', 'P641', {'concept': 'Q349'}], ['Q27187381', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?h WHERE { resource:Q8078835 property:P641 ?h . resource:Q27187381 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
Óscar Londoño and Lenos Kittos participated in association football
association football
action filter_type
action intersection
action find
entity Óscar Londoño
relation sport
action find
entity Lenos Kittos
relation sport
type sport
{'AND': [['Óscar Londoño', 'sport', {'concept': 'sport'}], ['Lenos Kittos', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?h WHERE { resource:Óscar_Londoño property:sport ?h . resource:Lenos_Kittos property:sport ?h . ?h rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q27187381
P27
Q15617994
USER
How many administrative territories are Lenos Kittos an inhabitant of ?
(Q27187381,P27,c(Q15617994))
action count
action filter_type
action find
entity Q27187381
relation P27
type Q15617994
['Q27187381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q27187381 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Lenos Kittos
action count
action filter_type
action find
entity Lenos Kittos
relation country of citizenship
type designation for an administrative territorial entity
['Lenos Kittos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Lenos_Kittos property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q229
(Q27187381,P27,c(Q15617994))
action count
action filter_type
action find
entity Q27187381
relation P27
type Q15617994
[ANSWER]
['Q27187381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q27187381 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Cyprus
1
action count
action filter_type
action find
entity Lenos Kittos
relation country of citizenship
type designation for an administrative territorial entity
['Lenos Kittos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Lenos_Kittos property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5571438
Q15617994
USER
And what about Gloria Oden?
(Q5571438,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5571438
relation P27
type Q15617994
['Q5571438', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q5571438 property:P27 ?s }
Gloria Oden
action count
action filter_type
action find
entity Gloria Oden
relation country of citizenship
type designation for an administrative territorial entity
['Gloria Oden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gloria_Oden property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q5571438,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5571438
relation P27
type Q15617994
[ANSWER]
['Q5571438', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q5571438 property:P27 ?s }
1
action count
action filter_type
action find
entity Gloria Oden
relation country of citizenship
type designation for an administrative territorial entity
['Gloria Oden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gloria_Oden property:country_of_citizenship ?s }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q128309
P1303
Q34379 Q502895
USER
How many musical instruments do approximately the same number of people know to play as drum kit ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q128309
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q128309 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?q } }
drum kit
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity drum kit
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:drum_kit property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?q } }
[]
musical instrument common name
SYSTEM
5
Q46185 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q128309
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q128309 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?q } }
bass guitar trumpet cello organ drum kit
5
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity drum kit
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:drum_kit property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?q } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q726306
P1303
Q34379 Q502895
USER
And what about erhu?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q726306
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q726306 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?y = ?u ) }
erhu
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity erhu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:erhu property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?u ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q726306
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q726306 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?y = ?u ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity erhu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:erhu property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2977729
P166
Q618779
USER
What was received by Claude Lussan ?
(Q2977729,P166,c(Q618779))
action filter_type
action find
entity Q2977729
relation P166
type Q618779
['Q2977729', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q2977729 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Claude Lussan
action filter_type
action find
entity Claude Lussan
relation award received
type award
['Claude Lussan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Claude_Lussan property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q13422142
SYSTEM
Grand Officer of the National Order of Merit
Q13422142
(Q2977729,P166,c(Q618779))
action filter_type
action find
entity Q2977729
relation P166
type Q618779
France [ANSWER] was received by Claude Lussan
['Q2977729', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q2977729 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Grand Officer of the National Order of Merit
France Grand Officer of the National Order of Merit was received by Claude Lussan
Grand Officer of the National Order of Merit
action filter_type
action find
entity Claude Lussan
relation award received
type award
['Claude Lussan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Claude_Lussan property:award_received ?z . ?z rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2476209 Q27187381
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Lenos Kittos or Ihor Sholin ?
OR((Q27187381,P27,c(Q15617994)), (Q2476209,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q27187381
relation P27
action find
entity Q2476209
relation P27
type Q15617994
{'OR': [['Q27187381', 'P27', {'concept': 'Q15617994'}], ['Q2476209', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q27187381 property:P27 ?k } UNION { resource:Q2476209 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Ihor Sholin Lenos Kittos
action filter_type
action union
action find
entity Lenos Kittos
relation country of citizenship
action find
entity Ihor Sholin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lenos Kittos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ihor Sholin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Lenos_Kittos property:country_of_citizenship ?k } UNION { resource:Ihor_Sholin property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q229
SYSTEM
Ukraine, Cyprus
Q212 Q229
OR((Q27187381,P27,c(Q15617994)), (Q2476209,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q27187381
relation P27
action find
entity Q2476209
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Lenos Kittos or Ihor Sholin
{'OR': [['Q27187381', 'P27', {'concept': 'Q15617994'}], ['Q2476209', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q27187381 property:P27 ?k } UNION { resource:Q2476209 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Ukraine Cyprus
Ukraine and Cyprus are the countries of citizenship of Lenos Kittos or Ihor Sholin
Ukraine Cyprus
action filter_type
action union
action find
entity Lenos Kittos
relation country of citizenship
action find
entity Ihor Sholin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lenos Kittos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ihor Sholin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Lenos_Kittos property:country_of_citizenship ?k } UNION { resource:Ihor_Sholin property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P30
Q2221906
USER
Which geographic location is Ukraine situated in ?
(Q212,P30,c(Q2221906))
action filter_type
action find
entity Q212
relation P30
type Q2221906
['Q212', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q212 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Ukraine
action filter_type
action find
entity Ukraine
relation continent
type geographic location
['Ukraine', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Ukraine property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q212,P30,c(Q2221906))
action filter_type
action find
entity Q212
relation P30
type Q2221906
Ukraine is situated in [ANSWER]
['Q212', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q212 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Europe
Ukraine is situated in Europe
Europe
action filter_type
action find
entity Ukraine
relation continent
type geographic location
['Ukraine', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Ukraine property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P610
Q14524493
USER
Which terrain is the highest point of that geographic location ?
(Q46,P610,c(Q14524493))
action filter_type
action find
entity Q46
relation P610
type Q14524493
['Q46', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { resource:Q46 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
Europe
action filter_type
action find
entity Europe
relation highest point
type terrain
['Europe', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { resource:Europe property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
terrain
Q43105
SYSTEM
Mount Elbrus
Q43105
(Q46,P610,c(Q14524493))
action filter_type
action find
entity Q46
relation P610
type Q14524493
[ANSWER] is the highest point of that geographic location
['Q46', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { resource:Q46 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
Mount Elbrus
Mount Elbrus is the highest point of that geographic location
Mount Elbrus
action filter_type
action find
entity Europe
relation highest point
type terrain
['Europe', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { resource:Europe property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q537749
P706
Q107425 Q14524493
USER
Which landscapes are greater number of terrains located on than Florida Keys ?
(c(Q14524493),P706,c(Q107425))
action greater
action find_reverse_tuple_counts
relation P706
type Q107425
type Q14524493
action count
action filter_type
action find
entity Q537749
relation P706
type Q107425
[{'concept': 'Q14524493'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P706 ?z . ?z rdf:type ontology:Q107425 . ?w rdf:type ontology:Q14524493 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q537749 property:P706 ?r . ?r rdf:type ontology:Q107425 } } . FILTER ( ?j > ?n ) }
Florida Keys
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type terrain
action count
action filter_type
action find
entity Florida Keys
relation located on terrain feature
type landscape
[{'concept': 'terrain'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:located_on_terrain_feature ?z . ?z rdf:type ontology:landscape . ?w rdf:type ontology:terrain } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Florida_Keys property:located_on_terrain_feature ?r . ?r rdf:type ontology:landscape } } . FILTER ( ?j > ?n ) }
[]
landscape terrain
Q671343 Q46772 Q192626
SYSTEM
Mont Blanc massif, Kerguelen Islands, Hawaiian Islands
Q6549341 Q122641 Q7361436 Q26399 Q83788 Q15622837 Q8534941 Q3298193 Q47141 Q152704 Q170383 Q671343 Q925906 Q152928 Q6583 Q116693 Q1283 Q46772 Q119206 Q924257 Q5312305 Q6379939 Q586512 Q192626 Q75596
(c(Q14524493),P706,c(Q107425))
action greater
action find_reverse_tuple_counts
relation P706
type Q107425
type Q14524493
action count
action filter_type
action find
entity Q537749
relation P706
type Q107425
[ANSWERS] are greater number of terrains located on than Florida Keys
[{'concept': 'Q14524493'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P706 ?z . ?z rdf:type ontology:Q107425 . ?w rdf:type ontology:Q14524493 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q537749 property:P706 ?r . ?r rdf:type ontology:Q107425 } } . FILTER ( ?j > ?n ) }
Limestone Massif Lechquellen Mountains Rolwaling Himal Hoggar Mountains Cordillera Central Guaniguanico Cerro de la Neblina Borg Massif Atacama Desert Gailtal Alps Aïr Mountains Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Esjan Dolomites Kerguelen Islands Julian Alps Mahalangur Himal Dufek Massif Kawdy Plateau Morvan Hawaiian Islands Laurentian Mountains
Mont Blanc massif, Kerguelen Islands and Hawaiian Islands are greater number of terrains located on than Florida Keys
Mont Blanc massif Kerguelen Islands Hawaiian Islands
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type terrain
action count
action filter_type
action find
entity Florida Keys
relation located on terrain feature
type landscape
[{'concept': 'terrain'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:located_on_terrain_feature ?z . ?z rdf:type ontology:landscape . ?w rdf:type ontology:terrain } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Florida_Keys property:located_on_terrain_feature ?r . ?r rdf:type ontology:landscape } } . FILTER ( ?j > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q128172
P706
Q107425 Q14524493
USER
And what about Île d'Orléans?
(c(Q14524493),P706,c(Q107425))
action greater
action find_reverse_tuple_counts
relation P706
type Q107425
type Q14524493
action count
action filter_type
action find
entity Q128172
relation P706
type Q107425
[{'concept': 'Q14524493'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?a ) WHERE { ?q rdf:type ontology:Q107425 . ?z rdf:type ontology:Q14524493 . ?z property:P706 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q128172 property:P706 ?f . ?f rdf:type ontology:Q107425 } } . FILTER ( ?a > ?x ) }
Île d'Orléans
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type terrain
action count
action filter_type
action find
entity Île d'Orléans
relation located on terrain feature
type landscape
[{'concept': 'terrain'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?a ) WHERE { ?q rdf:type ontology:landscape . ?z rdf:type ontology:terrain . ?z property:located_on_terrain_feature ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Île_d'Orléans property:located_on_terrain_feature ?f . ?f rdf:type ontology:landscape } } . FILTER ( ?a > ?x ) }
[]
landscape terrain
Q671343 Q46772 Q192626
SYSTEM
Mont Blanc massif, Kerguelen Islands, Hawaiian Islands
Q6549341 Q122641 Q7361436 Q26399 Q83788 Q15622837 Q8534941 Q3298193 Q47141 Q152704 Q170383 Q671343 Q925906 Q152928 Q6583 Q116693 Q1283 Q46772 Q119206 Q924257 Q5312305 Q6379939 Q586512 Q192626 Q75596
(c(Q14524493),P706,c(Q107425))
action greater
action find_reverse_tuple_counts
relation P706
type Q107425
type Q14524493
action count
action filter_type
action find
entity Q128172
relation P706
type Q107425
[ANSWERS]
[{'concept': 'Q14524493'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?a ) WHERE { ?q rdf:type ontology:Q107425 . ?z rdf:type ontology:Q14524493 . ?z property:P706 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q128172 property:P706 ?f . ?f rdf:type ontology:Q107425 } } . FILTER ( ?a > ?x ) }
Limestone Massif Lechquellen Mountains Rolwaling Himal Hoggar Mountains Cordillera Central Guaniguanico Cerro de la Neblina Borg Massif Atacama Desert Gailtal Alps Aïr Mountains Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Esjan Dolomites Kerguelen Islands Julian Alps Mahalangur Himal Dufek Massif Kawdy Plateau Morvan Hawaiian Islands Laurentian Mountains
Mont Blanc massif Kerguelen Islands Hawaiian Islands
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type terrain
action count
action filter_type
action find
entity Île d'Orléans
relation located on terrain feature
type landscape
[{'concept': 'terrain'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?a ) WHERE { ?q rdf:type ontology:landscape . ?z rdf:type ontology:terrain . ?z property:located_on_terrain_feature ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Île_d'Orléans property:located_on_terrain_feature ?f . ?f rdf:type ontology:landscape } } . FILTER ( ?a > ?x ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7377407 Q5571438
P69
Q163740
USER
Which nonprofit organizations were Gloria Oden and Rudolph Douglas Raiford educated ?
AND((Q5571438,P69,c(Q163740)), (Q7377407,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q5571438
relation P69
action find
entity Q7377407
relation P69
type Q163740
{'AND': [['Q5571438', 'P69', {'concept': 'Q163740'}], ['Q7377407', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?l WHERE { resource:Q5571438 property:P69 ?l . resource:Q7377407 property:P69 ?l . ?l rdf:type ontology:Q163740 }
Rudolph Douglas Raiford Gloria Oden
action filter_type
action intersection
action find
entity Gloria Oden
relation educated at
action find
entity Rudolph Douglas Raiford
relation educated at
type nonprofit organization
{'AND': [['Gloria Oden', 'educated at', {'concept': 'nonprofit organization'}], ['Rudolph Douglas Raiford', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?l WHERE { resource:Gloria_Oden property:educated_at ?l . resource:Rudolph_Douglas_Raiford property:educated_at ?l . ?l rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1068752
SYSTEM
Howard University
Q1068752
AND((Q5571438,P69,c(Q163740)), (Q7377407,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q5571438
relation P69
action find
entity Q7377407
relation P69
type Q163740
Gloria Oden and Rudolph Douglas Raiford were educated at [ANSWER]
{'AND': [['Q5571438', 'P69', {'concept': 'Q163740'}], ['Q7377407', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?l WHERE { resource:Q5571438 property:P69 ?l . resource:Q7377407 property:P69 ?l . ?l rdf:type ontology:Q163740 }
Howard University
Gloria Oden and Rudolph Douglas Raiford were educated at Howard University
Howard University
action filter_type
action intersection
action find
entity Gloria Oden
relation educated at
action find
entity Rudolph Douglas Raiford
relation educated at
type nonprofit organization
{'AND': [['Gloria Oden', 'educated at', {'concept': 'nonprofit organization'}], ['Rudolph Douglas Raiford', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?l WHERE { resource:Gloria_Oden property:educated_at ?l . resource:Rudolph_Douglas_Raiford property:educated_at ?l . ?l rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1068752 Q5703893
P69
Q502895
USER
Did Helene Mambu study at that nonprofit organization ?
(Q5703893,P69,Q1068752)
action is_in
entity Q1068752
action find
entity Q5703893
relation P69
['Q5703893', 'P69', 'Q1068752']
ASK WHERE { resource:Q5703893 property:P69 resource:Q1068752 }
Howard University Helene Mambu
action is_in
entity Howard University
action find
entity Helene Mambu
relation educated at
['Helene Mambu', 'educated at', 'Howard University']
ASK WHERE { resource:Helene_Mambu property:educated_at resource:Howard_University }
[]
common name
SYSTEM
YES
(Q5703893,P69,Q1068752)
action is_in
entity Q1068752
action find
entity Q5703893
relation P69
[ANSWER]
['Q5703893', 'P69', 'Q1068752']
ASK WHERE { resource:Q5703893 property:P69 resource:Q1068752 }
Yes
action is_in
entity Howard University
action find
entity Helene Mambu
relation educated at
['Helene Mambu', 'educated at', 'Howard University']
ASK WHERE { resource:Helene_Mambu property:educated_at resource:Howard_University }
[]