Simple Question (Direct)
Simple Question
Q481538
P108
Q3918
USER
Which university employs Viggo Fausböll ?
(Q481538,P108,c(Q3918))
action filter_type
action find
entity Q481538
relation P108
type Q3918
['Q481538', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q481538 property:P108 ?d . ?d rdf:type ontology:Q3918 }
Viggo Fausböll
action filter_type
action find
entity Viggo Fausböll
relation employer
type university
['Viggo Fausböll', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Viggo_Fausböll property:employer ?d . ?d rdf:type ontology:university }
[]
university
Q186285
SYSTEM
University of Copenhagen
Q186285
(Q481538,P108,c(Q3918))
action filter_type
action find
entity Q481538
relation P108
type Q3918
[ANSWER] employs Viggo Fausböll
['Q481538', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q481538 property:P108 ?d . ?d rdf:type ontology:Q3918 }
University of Copenhagen
University of Copenhagen employs Viggo Fausböll
University of Copenhagen
action filter_type
action find
entity Viggo Fausböll
relation employer
type university
['Viggo Fausböll', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Viggo_Fausböll property:employer ?d . ?d rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q481538
P937
Q56061
USER
Where did that person work ?
(Q186285,P937,c(Q56061))
action filter_type
action find
entity Q481538
relation P937
type Q56061
['Q186285', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q481538 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Viggo Fausböll
action filter_type
action find
entity Viggo Fausböll
relation work location
type administrative territorial entity
['University of Copenhagen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Viggo_Fausböll property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1748
SYSTEM
Copenhagen
Q1748
(Q186285,P937,c(Q56061))
action filter_type
action find
entity Q481538
relation P937
type Q56061
That person worked in [ANSWER]
['Q186285', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q481538 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Copenhagen
That person worked in Copenhagen
Copenhagen
action filter_type
action find
entity Viggo Fausböll
relation work location
type administrative territorial entity
['University of Copenhagen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Viggo_Fausböll property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1284419 Q1748
P19 P190
Q56061
USER
Which administrative territories are the sister cities of Copenhagen or were Wilhelm Gutbrod born in ?
OR((Q1748,P190,c(Q56061)), (Q1284419,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1748
relation P190
action find
entity Q1284419
relation P19
type Q56061
{'OR': [['Q1748', 'P190', {'concept': 'Q56061'}], ['Q1284419', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . { { resource:Q1748 property:P190 ?b } UNION { resource:Q1284419 property:P19 ?b } } }
Wilhelm Gutbrod Copenhagen
action filter_type
action union
action find
entity Copenhagen
relation sister city
action find
entity Wilhelm Gutbrod
relation place of birth
type administrative territorial entity
{'OR': [['Copenhagen', 'sister city', {'concept': 'administrative territorial entity'}], ['Wilhelm Gutbrod', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . { { resource:Copenhagen property:sister_city ?b } UNION { resource:Wilhelm_Gutbrod property:place_of_birth ?b } } }
[]
administrative territorial entity
Q64 Q226 Q10704 Q61843 Q1764 Q585 Q1754 Q4361 Q956 Q391461
SYSTEM
Some of them are Berlin, Nuuk, Tórshavn, Gerlingen, Reykjavík, Oslo, Stockholm, Curitiba, Beijing, Grójec
Q1757 Q226 Q1754 Q61843 Q391461 Q585 Q4361 Q956 Q1085 Q64 Q1764 Q10704
OR((Q1748,P190,c(Q56061)), (Q1284419,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1748
relation P190
action find
entity Q1284419
relation P19
type Q56061
[ANSWERS] are the sister cities of Copenhagen or were Wilhelm Gutbrod born in
{'OR': [['Q1748', 'P190', {'concept': 'Q56061'}], ['Q1284419', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . { { resource:Q1748 property:P190 ?b } UNION { resource:Q1284419 property:P19 ?b } } }
Helsinki Nuuk Stockholm Gerlingen Grójec Oslo Curitiba Beijing Prague Berlin Reykjavík Tórshavn
Berlin, Nuuk, Tórshavn, Gerlingen, Reykjavík, Oslo, Stockholm, Curitiba, Beijing and Grójec are the sister cities of Copenhagen or were Wilhelm Gutbrod born in
Berlin Nuuk Tórshavn Gerlingen Reykjavík Oslo Stockholm Curitiba Beijing Grójec
action filter_type
action union
action find
entity Copenhagen
relation sister city
action find
entity Wilhelm Gutbrod
relation place of birth
type administrative territorial entity
{'OR': [['Copenhagen', 'sister city', {'concept': 'administrative territorial entity'}], ['Wilhelm Gutbrod', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . { { resource:Copenhagen property:sister_city ?b } UNION { resource:Wilhelm_Gutbrod property:place_of_birth ?b } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q801 Q956
P190 P17
Q56061
USER
Which administrative territories are twin city of Beijing and are present in Israel ?
AND((c(Q56061),P190,Q956), (c(Q56061),P17,Q801))
action filter_type
action intersection
action find_reverse
entity Q956
relation P190
action find_reverse
entity Q801
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q956'], [{'concept': 'Q56061'}, 'P17', 'Q801']]}
SELECT DISTINCT ?a WHERE { ?a property:P17 resource:Q801 . ?a property:P190 resource:Q956 . ?a rdf:type ontology:Q56061 }
Israel Beijing
action filter_type
action intersection
action find_reverse
entity Beijing
relation sister city
action find_reverse
entity Israel
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Beijing'], [{'concept': 'administrative territorial entity'}, 'country', 'Israel']]}
SELECT DISTINCT ?a WHERE { ?a property:country resource:Israel . ?a property:sister_city resource:Beijing . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33935
SYSTEM
Tel Aviv
Q33935
AND((c(Q56061),P190,Q956), (c(Q56061),P17,Q801))
action filter_type
action intersection
action find_reverse
entity Q956
relation P190
action find_reverse
entity Q801
relation P17
type Q56061
[ANSWER] is twin city of Beijing and is present in Israel
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q956'], [{'concept': 'Q56061'}, 'P17', 'Q801']]}
SELECT DISTINCT ?a WHERE { ?a property:P17 resource:Q801 . ?a property:P190 resource:Q956 . ?a rdf:type ontology:Q56061 }
Tel Aviv
Tel Aviv is twin city of Beijing and is present in Israel
Tel Aviv
action filter_type
action intersection
action find_reverse
entity Beijing
relation sister city
action find_reverse
entity Israel
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Beijing'], [{'concept': 'administrative territorial entity'}, 'country', 'Israel']]}
SELECT DISTINCT ?a WHERE { ?a property:country resource:Israel . ?a property:sister_city resource:Beijing . ?a rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33935 Q2507113
P19
Q502895
USER
Was Zaharira Harifai born at that administrative territory ?
(Q2507113,P19,Q33935)
action is_in
entity Q33935
action find
entity Q2507113
relation P19
['Q2507113', 'P19', 'Q33935']
ASK WHERE { resource:Q2507113 property:P19 resource:Q33935 }
Tel Aviv Zaharira Harifai
action is_in
entity Tel Aviv
action find
entity Zaharira Harifai
relation place of birth
['Zaharira Harifai', 'place of birth', 'Tel Aviv']
ASK WHERE { resource:Zaharira_Harifai property:place_of_birth resource:Tel_Aviv }
[]
common name
SYSTEM
YES
(Q2507113,P19,Q33935)
action is_in
entity Q33935
action find
entity Q2507113
relation P19
[ANSWER]
['Q2507113', 'P19', 'Q33935']
ASK WHERE { resource:Q2507113 property:P19 resource:Q33935 }
Yes
action is_in
entity Tel Aviv
action find
entity Zaharira Harifai
relation place of birth
['Zaharira Harifai', 'place of birth', 'Tel Aviv']
ASK WHERE { resource:Zaharira_Harifai property:place_of_birth resource:Tel_Aviv }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1764 Q189
P17
Q15617994
USER
Does Reykjavík belong to Iceland ?
(Q1764,P17,Q189)
action is_in
entity Q189
action find
entity Q1764
relation P17
['Q1764', 'P17', 'Q189']
ASK WHERE { resource:Q1764 property:P17 resource:Q189 }
Reykjavík Iceland
action is_in
entity Iceland
action find
entity Reykjavík
relation country
['Reykjavík', 'country', 'Iceland']
ASK WHERE { resource:Reykjavík property:country resource:Iceland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1764,P17,Q189)
action is_in
entity Q189
action find
entity Q1764
relation P17
[ANSWER]
['Q1764', 'P17', 'Q189']
ASK WHERE { resource:Q1764 property:P17 resource:Q189 }
Yes
action is_in
entity Iceland
action find
entity Reykjavík
relation country
['Reykjavík', 'country', 'Iceland']
ASK WHERE { resource:Reykjavík property:country resource:Iceland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10704 Q16465807
P190
Q56061
USER
Is Normainėliai sister town of Tórshavn ?
(Q10704,P190,Q16465807)
action is_in
entity Q16465807
action find
entity Q10704
relation P190
['Q10704', 'P190', 'Q16465807']
ASK WHERE { resource:Q10704 property:P190 resource:Q16465807 }
Tórshavn Normainėliai
action is_in
entity Normainėliai
action find
entity Tórshavn
relation sister city
['Tórshavn', 'sister city', 'Normainėliai']
ASK WHERE { resource:Tórshavn property:sister_city resource:Normainėliai }
[]
administrative territorial entity
SYSTEM
NO
(Q10704,P190,Q16465807)
action is_in
entity Q16465807
action find
entity Q10704
relation P190
[ANSWER]
['Q10704', 'P190', 'Q16465807']
ASK WHERE { resource:Q10704 property:P190 resource:Q16465807 }
No
action is_in
entity Normainėliai
action find
entity Tórshavn
relation sister city
['Tórshavn', 'sister city', 'Normainėliai']
ASK WHERE { resource:Tórshavn property:sister_city resource:Normainėliai }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q64
P276
Q820655 Q43229
USER
How many statutes and organizations are situated at Berlin ?
(c(Q820655),P276,Q64) (c(Q43229),P276,Q64)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P276
type Q820655
action filter_type
action find_reverse
entity Q64
relation P276
type Q43229
[{'concept': 'Q820655'}, 'P276', 'Q64'] [{'concept': 'Q43229'}, 'P276', 'Q64']
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:Q820655 ) ( ontology:Q43229 ) } }
Berlin
action count
action union
action filter_type
action find_reverse
entity Berlin
relation location
type statute
action filter_type
action find_reverse
entity Berlin
relation location
type organization
[{'concept': 'statute'}, 'location', 'Berlin'] [{'concept': 'organization'}, 'location', 'Berlin']
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:statute ) ( ontology:organization ) } }
[]
statute organization
SYSTEM
1 statutes and 1 organizations
Q49745 Q573331
(c(Q820655),P276,Q64) (c(Q43229),P276,Q64)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P276
type Q820655
action filter_type
action find_reverse
entity Q64
relation P276
type Q43229
[ANSWER]
[{'concept': 'Q820655'}, 'P276', 'Q64'] [{'concept': 'Q43229'}, 'P276', 'Q64']
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:Q820655 ) ( ontology:Q43229 ) } }
Soviet War Memorial German–Soviet Credit Agreement
1 statutes and 1 organizations
action count
action union
action filter_type
action find_reverse
entity Berlin
relation location
type statute
action filter_type
action find_reverse
entity Berlin
relation location
type organization
[{'concept': 'statute'}, 'location', 'Berlin'] [{'concept': 'organization'}, 'location', 'Berlin']
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:statute ) ( ontology:organization ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33935
P159
Q43229
USER
Which organizations have the principal seat at Tel Aviv ?
(c(Q43229),P159,Q33935)
action filter_type
action find_reverse
entity Q33935
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q33935']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q33935 . ?r rdf:type ontology:Q43229 }
Tel Aviv
action filter_type
action find_reverse
entity Tel Aviv
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Tel Aviv']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Tel_Aviv . ?r rdf:type ontology:organization }
[]
organization
Q1674598 Q903943 Q5333360
SYSTEM
Israel Corporation, ADAMA Agricultural Solutions, Economic Cooperation Foundation
Q5184779 Q683006 Q2742556 Q7100322 Q7928916 Q2777497 Q7496069 Q17001217 Q176587 Q6889446 Q7338217 Q4852641 Q5586687 Q1565278 Q17051591 Q5005955 Q17067617 Q5454414 Q2898555 Q21303007 Q17380844 Q2666775 Q19895549 Q2912754 Q5333360 Q8053566 Q2894259 Q13576574 Q17194268 Q7280047 Q19894366 Q4830414 Q17050559 Q6712571 Q4746827 Q8072203 Q19903183 Q6296982 Q7998077 Q2893317 Q5410132 Q6778227 Q5157220 Q19904019 Q7387532 Q903957 Q5063615 Q2898819 Q2573130 Q8047916 Q5353857 Q1674598 Q7253897 Q7322037 Q5610463 Q6088363 Q2909852 Q6807467 Q2077490 Q5353752 Q903943 Q7578905 Q5580126 Q12406489 Q5043252 Q7936380 Q642372 Q7220966
(c(Q43229),P159,Q33935)
action filter_type
action find_reverse
entity Q33935
relation P159
type Q43229
[ANSWERS] have the principal seat at Tel Aviv
[{'concept': 'Q43229'}, 'P159', 'Q33935']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q33935 . ?r rdf:type ontology:Q43229 }
Crew972 SodaStream Gazit-Globe Orckit-Corrigent Vigilant Technology First International Bank of Israel Shibolet & Co. Adika Check Point Modiin Energy Riverhead Networks Balter, Guth, Aloni & Co. Gornitzky & Co. Ynetnews Optimove C-nario KCPS Clarity Fischer, Behar, Chen, Well, Orion & Co. RADWIN Baligam Zeek Bank Hapoalim JPEGmini Delta Galil Economic Cooperation Foundation Yigal Arnon & Co. Golan Telecom Ituran SiSense Radcom Ltd CALLUP net Axerra Networks IronSource M. Firon & Co. Amit, Pollak, Matalon & Co. Zimperium Black Cube JoyTunes Wibiya Mikud Fiverr Marvell Software Solutions Israel Compugen Galia Lahav S. Horowitz & Co. Israel Chemicals Ceragon Ampal-American Israel Corporation Walla! Yamar Electronics Ltd Elco Holdings Israel Corporation Psagot Investment House RiT Technologies Gross, Kleinhendler, Hodak, Halevy, Greenberg & Co. Issta Israel Land Development Company MeeMix RAD Data Communications Elbit Imaging ADAMA Agricultural Solutions Spoken Web Goldfarb Seligman & Co. Honigman Carmel Agrexco Visonic Cimatron Azrieli Group
Israel Corporation, ADAMA Agricultural Solutions and Economic Cooperation Foundation have the principal seat at Tel Aviv
Israel Corporation ADAMA Agricultural Solutions Economic Cooperation Foundation
action filter_type
action find_reverse
entity Tel Aviv
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Tel Aviv']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Tel_Aviv . ?r rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1674598
P749
Q43229
USER
Which organization owns that one ?
(Q1674598,P749,c(Q43229))
action filter_type
action find
entity Q1674598
relation P749
type Q43229
['Q1674598', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q1674598 property:P749 ?x . ?x rdf:type ontology:Q43229 }
Israel Corporation
action filter_type
action find
entity Israel Corporation
relation parent organization
type organization
['Israel Corporation', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Israel_Corporation property:parent_organization ?x . ?x rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q1674598
SYSTEM
Did you mean Israel Corporation ?
Q1674598 Q903943 Q5333360
(Q1674598,P749,c(Q43229)) (Q903943,P749,c(Q43229)) (Q5333360,P749,c(Q43229))
[ANSWER]
['Q1674598', 'P749', {'concept': 'Q43229'}] ['Q903943', 'P749', {'concept': 'Q43229'}] ['Q5333360', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q1674598 property:P749 ?x . ?x rdf:type ontology:Q43229 }
Israel Corporation ADAMA Agricultural Solutions Economic Cooperation Foundation
Did you mean Israel Corporation ?
Israel Corporation
['Israel Corporation', 'parent organization', {'concept': 'organization'}] ['ADAMA Agricultural Solutions', 'parent organization', {'concept': 'organization'}] ['Economic Cooperation Foundation', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Israel_Corporation property:parent_organization ?x . ?x rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1674598,P749,c(Q43229))
['Q1674598', 'P749', {'concept': 'Q43229'}]
['Israel Corporation', 'parent organization', {'concept': 'organization'}]
[]
Q18617091
SYSTEM
Millenium Investments Elad
Q18617091
(Q1674598,P749,c(Q43229))
action filter_type
action find
entity Q1674598
relation P749
type Q43229
[ANSWER] owns that one
['Q1674598', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q1674598 property:P749 ?x . ?x rdf:type ontology:Q43229 }
Millenium Investments Elad
Millenium Investments Elad owns that one
Millenium Investments Elad
action filter_type
action find
entity Israel Corporation
relation parent organization
type organization
['Israel Corporation', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Israel_Corporation property:parent_organization ?x . ?x rdf:type ontology:organization }
[]