Simple Question (Direct)
Simple Question
Q553132
P1412
Q34770
USER
Which language is spoken by James Mark Baldwin ?
(Q553132,P1412,c(Q34770))
action filter_type
action find
entity Q553132
relation P1412
type Q34770
['Q553132', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q553132 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
James Mark Baldwin
action filter_type
action find
entity James Mark Baldwin
relation languages spoken, written or signed
type language
['James Mark Baldwin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:James_Mark_Baldwin property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q553132,P1412,c(Q34770))
action filter_type
action find
entity Q553132
relation P1412
type Q34770
Is [ANSWER] is spoken by James Mark Baldwin
['Q553132', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q553132 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
English
Is English is spoken by James Mark Baldwin
English
action filter_type
action find
entity James Mark Baldwin
relation languages spoken, written or signed
type language
['James Mark Baldwin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:James_Mark_Baldwin property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P37
Q79913
USER
Which non-governmental organizations are that one the official language of ?
(c(Q79913),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q79913
[{'concept': 'Q79913'}, 'P37', 'Q1860']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q79913 . ?v property:P37 resource:Q1860 }
English
action filter_type
action find_reverse
entity English
relation official language
type non-governmental organization
[{'concept': 'non-governmental organization'}, 'official language', 'English']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:non-governmental_organization . ?v property:official_language resource:English }
[]
non-governmental organization
Q14631976 Q3550306
SYSTEM
International Federation for Emergency Medicine, International association of lawyers
Q14631976 Q3550306
(c(Q79913),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q79913
[ANSWERS] are that one the official language of
[{'concept': 'Q79913'}, 'P37', 'Q1860']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q79913 . ?v property:P37 resource:Q1860 }
International Federation for Emergency Medicine International association of lawyers
International Federation for Emergency Medicine and International association of lawyers are that one the official language of
International Federation for Emergency Medicine International association of lawyers
action filter_type
action find_reverse
entity English
relation official language
type non-governmental organization
[{'concept': 'non-governmental organization'}, 'official language', 'English']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:non-governmental_organization . ?v property:official_language resource:English }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3550306
P159
Q34442
USER
Which road is the head office of that non-governmental organization ?
(Q3550306,P159,c(Q34442))
action filter_type
action find
entity Q3550306
relation P159
type Q34442
['Q3550306', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?w WHERE { resource:Q3550306 property:P159 ?w . ?w rdf:type ontology:Q34442 }
International association of lawyers
action filter_type
action find
entity International association of lawyers
relation headquarters location
type road
['International association of lawyers', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?w WHERE { resource:International_association_of_lawyers property:headquarters_location ?w . ?w rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q3550306
SYSTEM
Did you mean International association of lawyers ?
Q14631976 Q3550306
(Q14631976,P159,c(Q34442)) (Q3550306,P159,c(Q34442))
[ANSWER]
['Q14631976', 'P159', {'concept': 'Q34442'}] ['Q3550306', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?w WHERE { resource:Q3550306 property:P159 ?w . ?w rdf:type ontology:Q34442 }
International Federation for Emergency Medicine International association of lawyers
Did you mean International association of lawyers ?
International association of lawyers
['International Federation for Emergency Medicine', 'headquarters location', {'concept': 'road'}] ['International association of lawyers', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?w WHERE { resource:International_association_of_lawyers property:headquarters_location ?w . ?w rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3550306,P159,c(Q34442))
['Q3550306', 'P159', {'concept': 'Q34442'}]
['International association of lawyers', 'headquarters location', {'concept': 'road'}]
[]
Q3452393
SYSTEM
rue du Jour
Q3452393
(Q3550306,P159,c(Q34442))
action filter_type
action find
entity Q3550306
relation P159
type Q34442
[ANSWER] is the head office of that non-governmental organization
['Q3550306', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?w WHERE { resource:Q3550306 property:P159 ?w . ?w rdf:type ontology:Q34442 }
rue du Jour
Rue du Jour is the head office of that non-governmental organization
rue du Jour
action filter_type
action find
entity International association of lawyers
relation headquarters location
type road
['International association of lawyers', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?w WHERE { resource:International_association_of_lawyers property:headquarters_location ?w . ?w rdf:type ontology:road }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3452393 Q142 Q207139
P17
Q15617994
USER
Is that road situated in France and Mombaroccio ?
(Q3452393,P17,Q142) (Q3452393,P17,Q207139)
action is_in
entity Q3452393
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q207139
relation P17
['Q3452393', 'P17', 'Q142'] ['Q3452393', 'P17', 'Q207139']
ASK WHERE { resource:Q3452393 property:P17 resource:Q142 . resource:Q3452393 property:P17 resource:Q207139 }
rue du Jour France Mombaroccio
action is_in
entity rue du Jour
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Mombaroccio
relation country
['rue du Jour', 'country', 'France'] ['rue du Jour', 'country', 'Mombaroccio']
ASK WHERE { resource:rue_du_Jour property:country resource:France . resource:rue_du_Jour property:country resource:Mombaroccio }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3452393,P17,Q142) (Q3452393,P17,Q207139)
action is_in
entity Q3452393
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q207139
relation P17
[ANSWER]
['Q3452393', 'P17', 'Q142'] ['Q3452393', 'P17', 'Q207139']
ASK WHERE { resource:Q3452393 property:P17 resource:Q142 . resource:Q3452393 property:P17 resource:Q207139 }
YES and NO respectively
action is_in
entity rue du Jour
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Mombaroccio
relation country
['rue du Jour', 'country', 'France'] ['rue du Jour', 'country', 'Mombaroccio']
ASK WHERE { resource:rue_du_Jour property:country resource:France . resource:rue_du_Jour property:country resource:Mombaroccio }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3452393
P669
Q44539
USER
Which temple is located on that road ?
action filter_type
action find_reverse
entity Q3452393
relation P669
type Q44539
SELECT DISTINCT ?w WHERE { ?w property:P669 resource:Q3452393 . ?w rdf:type ontology:Q44539 }
rue du Jour
action filter_type
action find_reverse
entity rue du Jour
relation located on street
type temple
SELECT DISTINCT ?w WHERE { ?w property:located_on_street resource:rue_du_Jour . ?w rdf:type ontology:temple }
[]
temple
Q1338207
SYSTEM
Church of Saint Eustace
Q1338207
action filter_type
action find_reverse
entity Q3452393
relation P669
type Q44539
[ANSWER] is located on that road
SELECT DISTINCT ?w WHERE { ?w property:P669 resource:Q3452393 . ?w rdf:type ontology:Q44539 }
Church of Saint Eustace
Church of Saint Eustace is located on that road
Church of Saint Eustace
action filter_type
action find_reverse
entity rue du Jour
relation located on street
type temple
SELECT DISTINCT ?w WHERE { ?w property:located_on_street resource:rue_du_Jour . ?w rdf:type ontology:temple }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3452393
P47
Q34442
USER
How many roads do rue du Jour share a border with ?
(c(Q34442),P47,Q3452393)
action count
action filter_type
action find_reverse
entity Q3452393
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q3452393']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:P47 resource:Q3452393 . ?w rdf:type ontology:Q34442 }
rue du Jour
action count
action filter_type
action find_reverse
entity rue du Jour
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue du Jour']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:shares_border_with resource:rue_du_Jour . ?w rdf:type ontology:road }
[]
road
SYSTEM
3
Q3447525 Q3449673 Q3449238
(c(Q34442),P47,Q3452393)
action count
action filter_type
action find_reverse
entity Q3452393
relation P47
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P47', 'Q3452393']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:P47 resource:Q3452393 . ?w rdf:type ontology:Q34442 }
rue Coquillière rue Rambuteau rue Montmartre
3
action count
action filter_type
action find_reverse
entity rue du Jour
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue du Jour']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:shares_border_with resource:rue_du_Jour . ?w rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3452393
P159
Q79913
USER
Which non-governmental organization has HQ at that road ?
action filter_type
action find_reverse
entity Q3452393
relation P159
type Q79913
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q3452393 . ?d rdf:type ontology:Q79913 }
rue du Jour
action filter_type
action find_reverse
entity rue du Jour
relation headquarters location
type non-governmental organization
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:rue_du_Jour . ?d rdf:type ontology:non-governmental_organization }
[]
non-governmental organization
Q3550306
SYSTEM
International association of lawyers
Q3550306
action filter_type
action find_reverse
entity Q3452393
relation P159
type Q79913
[ANSWER] has HQ at that road
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q3452393 . ?d rdf:type ontology:Q79913 }
International association of lawyers
International association of lawyers has HQ at that road
International association of lawyers
action filter_type
action find_reverse
entity rue du Jour
relation headquarters location
type non-governmental organization
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:rue_du_Jour . ?d rdf:type ontology:non-governmental_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3550306 Q26910968
P488
Q502895
USER
Did Emanuel Licha serve as the chairperson of that non-governmental organization ?
(Q3550306,P488,Q26910968)
action is_in
entity Q26910968
action find
entity Q3550306
relation P488
['Q3550306', 'P488', 'Q26910968']
ASK WHERE { resource:Q3550306 property:P488 resource:Q26910968 }
International association of lawyers Emanuel Licha
action is_in
entity Emanuel Licha
action find
entity International association of lawyers
relation chairperson
['International association of lawyers', 'chairperson', 'Emanuel Licha']
ASK WHERE { resource:International_association_of_lawyers property:chairperson resource:Emanuel_Licha }
[]
common name
SYSTEM
NO
(Q3550306,P488,Q26910968)
action is_in
entity Q26910968
action find
entity Q3550306
relation P488
[ANSWER]
['Q3550306', 'P488', 'Q26910968']
ASK WHERE { resource:Q3550306 property:P488 resource:Q26910968 }
No
action is_in
entity Emanuel Licha
action find
entity International association of lawyers
relation chairperson
['International association of lawyers', 'chairperson', 'Emanuel Licha']
ASK WHERE { resource:International_association_of_lawyers property:chairperson resource:Emanuel_Licha }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q827199 Q3550306
P488 P58
Q502895
USER
Which people were the chairpersons of International association of lawyers or wrote the script for Storm ?
OR((Q3550306,P488,c(Q502895)), (Q827199,P58,c(Q502895)))
action filter_type
action union
action find
entity Q3550306
relation P488
action find
entity Q827199
relation P58
type Q502895
{'OR': [['Q3550306', 'P488', {'concept': 'Q502895'}], ['Q827199', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3550306 property:P488 ?l } UNION { resource:Q827199 property:P58 ?l } } . ?l rdf:type ontology:Q502895 }
Storm International association of lawyers
action filter_type
action union
action find
entity International association of lawyers
relation chairperson
action find
entity Storm
relation screenwriter
type common name
{'OR': [['International association of lawyers', 'chairperson', {'concept': 'common name'}], ['Storm', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:International_association_of_lawyers property:chairperson ?l } UNION { resource:Storm property:screenwriter ?l } } . ?l rdf:type ontology:common_name }
[]
common name
Q5941821 Q5524122 Q20642948 Q15876805 Q15884024 Q355202 Q3370959 Q2977729 Q96642 Q16438831
SYSTEM
Some of them are José Luis del Valle-Iturriaga, Garry Downes, Albert Henri Paul Zurfluh, Jacob Hendrik de Brauw, Willem Maurits de Brauw, Adelino da Palma Carlos, Paul Crokaert, Claude Lussan, Hans-Christian Schmid, Ernest Arendt
Q2977729 Q3370959 Q355202 Q20642948 Q96642 Q15884024 Q5660902 Q6256673 Q5941821 Q5524122 Q14541804 Q823799 Q15876805 Q16438831
OR((Q3550306,P488,c(Q502895)), (Q827199,P58,c(Q502895)))
action filter_type
action union
action find
entity Q3550306
relation P488
action find
entity Q827199
relation P58
type Q502895
[ANSWERS] were the chairpersons of International association of lawyers or wrote the script for Storm
{'OR': [['Q3550306', 'P488', {'concept': 'Q502895'}], ['Q827199', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3550306 property:P488 ?l } UNION { resource:Q827199 property:P58 ?l } } . ?l rdf:type ontology:Q502895 }
Claude Lussan Paul Crokaert Adelino da Palma Carlos Albert Henri Paul Zurfluh Hans-Christian Schmid Willem Maurits de Brauw Harold H. Healy, Jr. Anders R. Öhman José Luis del Valle-Iturriaga Garry Downes Aloïs Stompfe Bernd Lange Jacob Hendrik de Brauw Ernest Arendt
José Luis del Valle-Iturriaga, Garry Downes, Albert Henri Paul Zurfluh, Jacob Hendrik de Brauw, Willem Maurits de Brauw, Adelino da Palma Carlos, Paul Crokaert, Claude Lussan, Hans-Christian Schmid and Ernest Arendt were the chairpersons of International association of lawyers or wrote the script for Storm
José Luis del Valle-Iturriaga Garry Downes Albert Henri Paul Zurfluh Jacob Hendrik de Brauw Willem Maurits de Brauw Adelino da Palma Carlos Paul Crokaert Claude Lussan Hans-Christian Schmid Ernest Arendt
action filter_type
action union
action find
entity International association of lawyers
relation chairperson
action find
entity Storm
relation screenwriter
type common name
{'OR': [['International association of lawyers', 'chairperson', {'concept': 'common name'}], ['Storm', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:International_association_of_lawyers property:chairperson ?l } UNION { resource:Storm property:screenwriter ?l } } . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12961568 Q1860
P361 P136
Q5962346
USER
Which classification schemes are English a part of or are the genre for Anna Karenina ?
OR((Q1860,P361,c(Q5962346)), (Q12961568,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q12961568
relation P136
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q12961568', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1860 property:P361 ?u } UNION { resource:Q12961568 property:P136 ?u } } . ?u rdf:type ontology:Q5962346 }
Anna Karenina English
action filter_type
action union
action find
entity English
relation part of
action find
entity Anna Karenina
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Anna Karenina', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?u WHERE { { { resource:English property:part_of ?u } UNION { resource:Anna_Karenina property:genre ?u } } . ?u rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q1366112 Q5329170
SYSTEM
Anglic languages, television drama, Anglo-Frisian languages
Q1346342 Q1366112 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q12961568,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q12961568
relation P136
type Q5962346
[ANSWERS] are English a part of or are the genre for Anna Karenina
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q12961568', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1860 property:P361 ?u } UNION { resource:Q12961568 property:P136 ?u } } . ?u rdf:type ontology:Q5962346 }
Anglic languages television drama Anglo-Frisian languages
Anglic languages, television drama and Anglo-Frisian languages are English a part of or are the genre for Anna Karenina
Anglic languages television drama Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Anna Karenina
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Anna Karenina', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?u WHERE { { { resource:English property:part_of ?u } UNION { resource:Anna_Karenina property:genre ?u } } . ?u rdf:type ontology:classification_scheme }
[]