Simple Question (Direct)
Simple Question
Q350083
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Dario Passoni ?
(Q350083,P27,c(Q15617994))
action filter_type
action find
entity Q350083
relation P27
type Q15617994
['Q350083', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q350083 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Dario Passoni
action filter_type
action find
entity Dario Passoni
relation country of citizenship
type designation for an administrative territorial entity
['Dario Passoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Dario_Passoni property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q350083,P27,c(Q15617994))
action filter_type
action find
entity Q350083
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Dario Passoni
['Q350083', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q350083 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Italy
Italy is the country of citizenship of Dario Passoni
Italy
action filter_type
action find
entity Dario Passoni
relation country of citizenship
type designation for an administrative territorial entity
['Dario Passoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Dario_Passoni property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q350083
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q350083
relation P106
type Q12737077
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q350083 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Dario Passoni
action filter_type
action find
entity Dario Passoni
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Dario_Passoni property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q350083
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q350083 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Dario Passoni
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Dario_Passoni property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q1819781
P106
Q502895
USER
Does Leopold Neubauer have a job as that occupation ?
(Q1819781,P106,Q937857)
action is_in
entity Q937857
action find
entity Q1819781
relation P106
['Q1819781', 'P106', 'Q937857']
ASK WHERE { resource:Q1819781 property:P106 resource:Q937857 }
association football player Leopold Neubauer
action is_in
entity association football player
action find
entity Leopold Neubauer
relation occupation
['Leopold Neubauer', 'occupation', 'association football player']
ASK WHERE { resource:Leopold_Neubauer property:occupation resource:association_football_player }
[]
common name
SYSTEM
YES
(Q1819781,P106,Q937857)
action is_in
entity Q937857
action find
entity Q1819781
relation P106
[ANSWER]
['Q1819781', 'P106', 'Q937857']
ASK WHERE { resource:Q1819781 property:P106 resource:Q937857 }
Yes
action is_in
entity association football player
action find
entity Leopold Neubauer
relation occupation
['Leopold Neubauer', 'occupation', 'association football player']
ASK WHERE { resource:Leopold_Neubauer property:occupation resource:association_football_player }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q38 Q5576367 Q236
P530
Q15617994
USER
Does Italy have ambassadorial relations with Godfrey-Lee Public Schools and Montenegro ?
(Q38,P530,Q5576367) (Q38,P530,Q236)
action is_in
entity Q38
action intersection
action find_reverse
entity Q5576367
relation P530
action find_reverse
entity Q236
relation P530
['Q38', 'P530', 'Q5576367'] ['Q38', 'P530', 'Q236']
ASK WHERE { resource:Q38 property:P530 resource:Q5576367 . resource:Q38 property:P530 resource:Q236 }
Italy Godfrey-Lee Public Schools Montenegro
action is_in
entity Italy
action intersection
action find_reverse
entity Godfrey-Lee Public Schools
relation diplomatic relation
action find_reverse
entity Montenegro
relation diplomatic relation
['Italy', 'diplomatic relation', 'Godfrey-Lee Public Schools'] ['Italy', 'diplomatic relation', 'Montenegro']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Godfrey-Lee_Public_Schools . resource:Italy property:diplomatic_relation resource:Montenegro }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q38,P530,Q5576367) (Q38,P530,Q236)
action is_in
entity Q38
action intersection
action find_reverse
entity Q5576367
relation P530
action find_reverse
entity Q236
relation P530
[ANSWER]
['Q38', 'P530', 'Q5576367'] ['Q38', 'P530', 'Q236']
ASK WHERE { resource:Q38 property:P530 resource:Q5576367 . resource:Q38 property:P530 resource:Q236 }
NO and YES respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Godfrey-Lee Public Schools
relation diplomatic relation
action find_reverse
entity Montenegro
relation diplomatic relation
['Italy', 'diplomatic relation', 'Godfrey-Lee Public Schools'] ['Italy', 'diplomatic relation', 'Montenegro']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Godfrey-Lee_Public_Schools . resource:Italy property:diplomatic_relation resource:Montenegro }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P463
Q43229
USER
Which organizations were Italy a member of ?
(Q38,P463,c(Q43229))
action filter_type
action find
entity Q38
relation P463
type Q43229
['Q38', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q38 property:P463 ?v . ?v rdf:type ontology:Q43229 }
Italy
action filter_type
action find
entity Italy
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Italy property:member_of ?v . ?v rdf:type ontology:organization }
[]
organization
Q7809 Q42944 Q151991
SYSTEM
United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research, European Southern Observatory
Q340195 Q125761 Q191384 Q1153087 Q309195 Q41550 Q189946 Q132551 Q899770 Q689859 Q7809 Q7825 Q1666759 Q699036 Q42944 Q61923 Q177773 Q656801 Q151991 Q161549 Q488981 Q3772571 Q386120 Q82151 Q7178 Q827525
(Q38,P463,c(Q43229))
action filter_type
action find
entity Q38
relation P463
type Q43229
[ANSWERS]
['Q38', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q38 property:P463 ?v . ?v rdf:type ontology:Q43229 }
African Development Bank International Civil Aviation Organization International Bank for Reconstruction and Development Inter-American Development Bank Bank for International Settlements Organisation for Economic Co-operation and Development Western European Union United Nations High Commissioner for Refugees International Centre for Settlement of Investment Disputes International Fund for Agricultural Development United Nations Educational, Scientific and Cultural Organization World Trade Organization International Mobile Satellite Organization United Nations Truce Supervision Organization European Organization for Nuclear Research World Tourism Organization World Intellectual Property Organization International Finance Corporation European Southern Observatory European Coal and Steel Community European Bank for Reconstruction and Development Caribbean Development Bank United Nations Industrial Development Organization Food and Agriculture Organization of the United Nations International Red Cross and Red Crescent Movementsac International Development Association
Which organizations were Italy a member of
United Nations Educational, Scientific and Cultural Organization European Organization for Nuclear Research European Southern Observatory
action filter_type
action find
entity Italy
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Italy property:member_of ?v . ?v rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42944
P170
Q1077784
USER
What was developed by that organization ?
(c(Q1077784),P170,Q42944)
action filter_type
action find_reverse
entity Q42944
relation P170
type Q1077784
[{'concept': 'Q1077784'}, 'P170', 'Q42944']
SELECT DISTINCT ?i WHERE { ?i property:P170 resource:Q42944 . ?i rdf:type ontology:Q1077784 }
European Organization for Nuclear Research
action filter_type
action find_reverse
entity European Organization for Nuclear Research
relation creator
type programming tool
[{'concept': 'programming tool'}, 'creator', 'European Organization for Nuclear Research']
SELECT DISTINCT ?i WHERE { ?i property:creator resource:European_Organization_for_Nuclear_Research . ?i rdf:type ontology:programming_tool }
[]
programming tool
Clarification for simple ques.
Q151991
SYSTEM
Did you mean European Southern Observatory ?
Q7809 Q42944 Q151991
(c(Q1077784),P170,Q7809) (c(Q1077784),P170,Q42944) (c(Q1077784),P170,Q151991)
[ANSWER]
[{'concept': 'Q1077784'}, 'P170', 'Q7809'] [{'concept': 'Q1077784'}, 'P170', 'Q42944'] [{'concept': 'Q1077784'}, 'P170', 'Q151991']
SELECT DISTINCT ?i WHERE { ?i property:P170 resource:Q42944 . ?i rdf:type ontology:Q1077784 }
United Nations Educational, Scientific and Cultural Organization European Organization for Nuclear Research European Southern Observatory
Did you mean European Southern Observatory ?
European Southern Observatory
[{'concept': 'programming tool'}, 'creator', 'United Nations Educational, Scientific and Cultural Organization'] [{'concept': 'programming tool'}, 'creator', 'European Organization for Nuclear Research'] [{'concept': 'programming tool'}, 'creator', 'European Southern Observatory']
SELECT DISTINCT ?i WHERE { ?i property:creator resource:European_Organization_for_Nuclear_Research . ?i rdf:type ontology:programming_tool }
[]
Simple Question (Coreferenced)
USER
No, I meant European Organization for Nuclear Research. Could you tell me the answer for that?
(c(Q1077784),P170,Q42944)
Q42944
[{'concept': 'Q1077784'}, 'P170', 'Q42944']
[{'concept': 'programming tool'}, 'creator', 'European Organization for Nuclear Research']
[]
Q947171
SYSTEM
ROOT
Q947171
(c(Q1077784),P170,Q42944)
action filter_type
action find_reverse
entity Q42944
relation P170
type Q1077784
[ANSWER] was developed by that organization
[{'concept': 'Q1077784'}, 'P170', 'Q42944']
SELECT DISTINCT ?i WHERE { ?i property:P170 resource:Q42944 . ?i rdf:type ontology:Q1077784 }
ROOT
ROOT was developed by that organization
ROOT
action filter_type
action find_reverse
entity European Organization for Nuclear Research
relation creator
type programming tool
[{'concept': 'programming tool'}, 'creator', 'European Organization for Nuclear Research']
SELECT DISTINCT ?i WHERE { ?i property:creator resource:European_Organization_for_Nuclear_Research . ?i rdf:type ontology:programming_tool }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q947171 Q388 Q23887483
P306
Q676202
USER
Does ROOT used Linux and kbd as the operating system ?
(Q947171,P306,Q388) (Q947171,P306,Q23887483)
action is_in
entity Q947171
action intersection
action find_reverse
entity Q388
relation P306
action find_reverse
entity Q23887483
relation P306
['Q947171', 'P306', 'Q388'] ['Q947171', 'P306', 'Q23887483']
ASK WHERE { resource:Q947171 property:P306 resource:Q388 . resource:Q947171 property:P306 resource:Q23887483 }
ROOT Linux kbd
action is_in
entity ROOT
action intersection
action find_reverse
entity Linux
relation operating system
action find_reverse
entity kbd
relation operating system
['ROOT', 'operating system', 'Linux'] ['ROOT', 'operating system', 'kbd']
ASK WHERE { resource:ROOT property:operating_system resource:Linux . resource:ROOT property:operating_system resource:kbd }
[]
system software
SYSTEM
YES and NO respectively
(Q947171,P306,Q388) (Q947171,P306,Q23887483)
action is_in
entity Q947171
action intersection
action find_reverse
entity Q388
relation P306
action find_reverse
entity Q23887483
relation P306
[ANSWER]
['Q947171', 'P306', 'Q388'] ['Q947171', 'P306', 'Q23887483']
ASK WHERE { resource:Q947171 property:P306 resource:Q388 . resource:Q947171 property:P306 resource:Q23887483 }
YES and NO respectively
action is_in
entity ROOT
action intersection
action find_reverse
entity Linux
relation operating system
action find_reverse
entity kbd
relation operating system
['ROOT', 'operating system', 'Linux'] ['ROOT', 'operating system', 'kbd']
ASK WHERE { resource:ROOT property:operating_system resource:Linux . resource:ROOT property:operating_system resource:kbd }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q947171
P170
Q43229
USER
Who created that programming tool ?
action filter_type
action find
entity Q947171
relation P170
type Q43229
SELECT DISTINCT ?m WHERE { resource:Q947171 property:P170 ?m . ?m rdf:type ontology:Q43229 }
ROOT
action filter_type
action find
entity ROOT
relation creator
type organization
SELECT DISTINCT ?m WHERE { resource:ROOT property:creator ?m . ?m rdf:type ontology:organization }
[]
organization
Q42944
SYSTEM
European Organization for Nuclear Research
Q42944
action filter_type
action find
entity Q947171
relation P170
type Q43229
[ANSWER] created that programming tool
SELECT DISTINCT ?m WHERE { resource:Q947171 property:P170 ?m . ?m rdf:type ontology:Q43229 }
European Organization for Nuclear Research
European Organization for Nuclear Research created that programming tool
European Organization for Nuclear Research
action filter_type
action find
entity ROOT
relation creator
type organization
SELECT DISTINCT ?m WHERE { resource:ROOT property:creator ?m . ?m rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q42944 Q39 Q25934437
P17
Q15617994
USER
Is that organization located in Switzerland and ‎Offham ?
(Q42944,P17,Q39) (Q42944,P17,Q25934437)
action is_in
entity Q42944
action intersection
action find_reverse
entity Q39
relation P17
action find_reverse
entity Q25934437
relation P17
['Q42944', 'P17', 'Q39'] ['Q42944', 'P17', 'Q25934437']
ASK WHERE { resource:Q42944 property:P17 resource:Q39 . resource:Q42944 property:P17 resource:Q25934437 }
European Organization for Nuclear Research Switzerland ‎Offham
action is_in
entity European Organization for Nuclear Research
action intersection
action find_reverse
entity Switzerland
relation country
action find_reverse
entity ‎Offham
relation country
['European Organization for Nuclear Research', 'country', 'Switzerland'] ['European Organization for Nuclear Research', 'country', '\u200eOffham']
ASK WHERE { resource:European_Organization_for_Nuclear_Research property:country resource:Switzerland . resource:European_Organization_for_Nuclear_Research property:country resource:‎Offham }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q42944,P17,Q39) (Q42944,P17,Q25934437)
action is_in
entity Q42944
action intersection
action find_reverse
entity Q39
relation P17
action find_reverse
entity Q25934437
relation P17
[ANSWER]
['Q42944', 'P17', 'Q39'] ['Q42944', 'P17', 'Q25934437']
ASK WHERE { resource:Q42944 property:P17 resource:Q39 . resource:Q42944 property:P17 resource:Q25934437 }
YES and NO respectively
action is_in
entity European Organization for Nuclear Research
action intersection
action find_reverse
entity Switzerland
relation country
action find_reverse
entity ‎Offham
relation country
['European Organization for Nuclear Research', 'country', 'Switzerland'] ['European Organization for Nuclear Research', 'country', '\u200eOffham']
ASK WHERE { resource:European_Organization_for_Nuclear_Research property:country resource:Switzerland . resource:European_Organization_for_Nuclear_Research property:country resource:‎Offham }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P123
Q43229 Q21114848 Q166142
USER
How many organizations published atleast 129 magazine genres or applications ?
(c(Q21114848)|c(Q166142),P123,c(Q43229))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P123
type Q43229
type Q21114848
action find_reverse_tuple_counts
relation P123
type Q43229
type Q166142
value 129
[[{'concept': 'Q21114848'}, {'concept': 'Q166142'}], 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { FILTER ( ?t >= 129 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?k WHERE { VALUES ( ?o ) { ( ontology:Q166142 ) ( ontology:Q21114848 ) } . ?f rdf:type ?o } GROUP BY ?k } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation publisher
type organization
type magazine genre
action find_reverse_tuple_counts
relation publisher
type organization
type application
value 129
[[{'concept': 'magazine genre'}, {'concept': 'application'}], 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { FILTER ( ?t >= 129 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?k WHERE { VALUES ( ?o ) { ( ontology:application ) ( ontology:magazine_genre ) } . ?f rdf:type ?o } GROUP BY ?k } }
[]
organization magazine genre application
SYSTEM
4
Q149947 Q339228 Q1049502 Q869106
(c(Q21114848)|c(Q166142),P123,c(Q43229))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P123
type Q43229
type Q21114848
action find_reverse_tuple_counts
relation P123
type Q43229
type Q166142
value 129
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q166142'}], 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { FILTER ( ?t >= 129 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?k WHERE { VALUES ( ?o ) { ( ontology:Q166142 ) ( ontology:Q21114848 ) } . ?f rdf:type ?o } GROUP BY ?k } }
Midway Games Acclaim Entertainment Hudson Soft EA Sports
4
action count
action atleast
action union
action find_reverse_tuple_counts
relation publisher
type organization
type magazine genre
action find_reverse_tuple_counts
relation publisher
type organization
type application
value 129
[[{'concept': 'magazine genre'}, {'concept': 'application'}], 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { FILTER ( ?t >= 129 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?k WHERE { VALUES ( ?o ) { ( ontology:application ) ( ontology:magazine_genre ) } . ?f rdf:type ?o } GROUP BY ?k } }
[]