Simple Question (Direct)
Simple Question
Q532739
P47
Q20667921
USER
Who share the border with Ellon ?
(Q532739,P47,c(Q20667921))
action filter_type
action find
entity Q532739
relation P47
type Q20667921
['Q532739', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q532739 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Ellon
action filter_type
action find
entity Ellon
relation shares border with
type type of french administrative division
['Ellon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Ellon property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q862474 Q380034 Q389041
SYSTEM
Juaye-Mondaye, Nonant, Condé-sur-Seulles
Q389041 Q839000 Q380034 Q196440 Q609425 Q862474
(Q532739,P47,c(Q20667921))
action filter_type
action find
entity Q532739
relation P47
type Q20667921
[ANSWERS] share the border with Ellon
['Q532739', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q532739 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Condé-sur-Seulles Arganchy Nonant Guéron Monceaux-en-Bessin Juaye-Mondaye
Juaye-Mondaye, Nonant and Condé-sur-Seulles share the border with Ellon
Juaye-Mondaye Nonant Condé-sur-Seulles
action filter_type
action find
entity Ellon
relation shares border with
type type of french administrative division
['Ellon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Ellon property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q380034
P19
Q502895
USER
Which person has place of birth as that french administrative division ?
(c(Q502895),P19,Q380034)
action filter_type
action find_reverse
entity Q380034
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q380034']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q380034 }
Nonant
action filter_type
action find_reverse
entity Nonant
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Nonant']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Nonant }
[]
common name
Clarification for simple ques.
Q380034
SYSTEM
Did you mean Nonant ?
Q862474 Q380034 Q389041
(c(Q502895),P19,Q862474) (c(Q502895),P19,Q380034) (c(Q502895),P19,Q389041)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q862474'] [{'concept': 'Q502895'}, 'P19', 'Q380034'] [{'concept': 'Q502895'}, 'P19', 'Q389041']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q380034 }
Juaye-Mondaye Nonant Condé-sur-Seulles
Did you mean Nonant ?
Nonant
[{'concept': 'common name'}, 'place of birth', 'Juaye-Mondaye'] [{'concept': 'common name'}, 'place of birth', 'Nonant'] [{'concept': 'common name'}, 'place of birth', 'Condé-sur-Seulles']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Nonant }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P19,Q380034)
[{'concept': 'Q502895'}, 'P19', 'Q380034']
[{'concept': 'common name'}, 'place of birth', 'Nonant']
[]
Q1065745
SYSTEM
Charles Paul Landon
Q1065745
(c(Q502895),P19,Q380034)
action filter_type
action find_reverse
entity Q380034
relation P19
type Q502895
[ANSWER] has place of birth as that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q380034']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q380034 }
Charles Paul Landon
Charles Paul Landon has place of birth as that french administrative division
Charles Paul Landon
action filter_type
action find_reverse
entity Nonant
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Nonant']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Nonant }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q220971
P1303
Q34379 Q502895
USER
How many musical instruments can lesser number of people perform with than marimba ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q220971
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:Q502895 . ?d property:P1303 resource:Q220971 } } . FILTER ( ?s < ?y ) . { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P1303 ?i . ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 } GROUP BY ?i } }
marimba
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity marimba
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:common_name . ?d property:instrument resource:marimba } } . FILTER ( ?s < ?y ) . { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:instrument ?i . ?p rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument } GROUP BY ?i } }
[]
musical instrument common name
SYSTEM
50
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q220971
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:Q502895 . ?d property:P1303 resource:Q220971 } } . FILTER ( ?s < ?y ) . { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P1303 ?i . ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 } GROUP BY ?i } }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
50
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity marimba
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:common_name . ?d property:instrument resource:marimba } } . FILTER ( ?s < ?y ) . { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:instrument ?i . ?p rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11404
P1303
Q34379 Q502895
USER
And what about drum?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q11404
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q502895 . ?k property:P1303 resource:Q11404 } } . FILTER ( ?z < ?b ) }
drum
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity drum
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:common_name . ?k property:instrument resource:drum } } . FILTER ( ?z < ?b ) }
[]
musical instrument common name
SYSTEM
52
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 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 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q11404
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q502895 . ?k property:P1303 resource:Q11404 } } . FILTER ( ?z < ?b ) }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium 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 Kayamb Paraguayan harp
52
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity drum
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:common_name . ?k property:instrument resource:drum } } . FILTER ( ?z < ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380034
P17
Q15617994
USER
Which administrative territory is Nonant situated in ?
(Q380034,P17,c(Q15617994))
action filter_type
action find
entity Q380034
relation P17
type Q15617994
['Q380034', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q380034 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Nonant
action filter_type
action find
entity Nonant
relation country
type designation for an administrative territorial entity
['Nonant', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Nonant property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q380034,P17,c(Q15617994))
action filter_type
action find
entity Q380034
relation P17
type Q15617994
Nonant is situated in [ANSWER]
['Q380034', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q380034 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
France
Nonant is situated in France
France
action filter_type
action find
entity Nonant
relation country
type designation for an administrative territorial entity
['Nonant', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Nonant property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q778
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with lesser number of administrative territories than The Bahamas ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?j ) WHERE { ?e rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?e property:P530 ?t } GROUP BY ?e } . FILTER ( ?j < ?s ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q778 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } }
The Bahamas
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?j ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?t } GROUP BY ?e } . FILTER ( ?j < ?s ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:The_Bahamas property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with lesser number of administrative territories than The Bahamas
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?j ) WHERE { ?e rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?e property:P530 ?t } GROUP BY ?e } . FILTER ( ?j < ?s ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q778 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relationships with lesser number of administrative territories than The Bahamas
Solomon Islands Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?j ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?t } GROUP BY ?e } . FILTER ( ?j < ?s ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:The_Bahamas property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q16
P530
Q1048835 Q15617994
USER
And also tell me about Canada?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?t ) WHERE { ?b property:P530 ?n . ?b rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q16 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?o ) }
Canada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?t ) WHERE { ?b property:diplomatic_relation ?n . ?b rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Canada property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?o ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?t ) WHERE { ?b property:P530 ?n . ?b rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q16 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?o ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark Austria New Zealand
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?t ) WHERE { ?b property:diplomatic_relation ?n . ?b rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Canada property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?o ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q563829
P530
Q15617994
USER
Do Winnerath have diplomatic associations with those political territories ?
(Q563829,P530,Q35) (Q563829,P530,Q40) (Q563829,P530,Q664)
action is_in
entity prev_answer
action find
entity Q563829
relation P530
['Q563829', 'P530', 'Q35'] ['Q563829', 'P530', 'Q40'] ['Q563829', 'P530', 'Q664']
ASK WHERE { resource:Q563829 property:P530 ?b . VALUES ( ?b ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Winnerath
action is_in
entity prev_answer
action find
entity Winnerath
relation diplomatic relation
['Winnerath', 'diplomatic relation', 'Denmark'] ['Winnerath', 'diplomatic relation', 'Austria'] ['Winnerath', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Winnerath property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q563829,P530,Q35) (Q563829,P530,Q40) (Q563829,P530,Q664)
action is_in
entity prev_answer
action find
entity Q563829
relation P530
[ANSWER]
['Q563829', 'P530', 'Q35'] ['Q563829', 'P530', 'Q40'] ['Q563829', 'P530', 'Q664']
ASK WHERE { resource:Q563829 property:P530 ?b . VALUES ( ?b ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
No
action is_in
entity prev_answer
action find
entity Winnerath
relation diplomatic relation
['Winnerath', 'diplomatic relation', 'Denmark'] ['Winnerath', 'diplomatic relation', 'Austria'] ['Winnerath', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Winnerath property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P463
Q43229
USER
What organizations were France a member of ?
(Q142,P463,c(Q43229))
action filter_type
action find
entity Q142
relation P463
type Q43229
['Q142', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q142 property:P463 ?a . ?a rdf:type ontology:Q43229 }
France
action filter_type
action find
entity France
relation member of
type organization
['France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:France property:member_of ?a . ?a rdf:type ontology:organization }
[]
organization
Q42944 Q151991 Q7825
SYSTEM
European Organization for Nuclear Research, European Southern Observatory, World Trade Organization
Q340195 Q42944 Q191384 Q899770 Q1331152 Q41550 Q656801 Q151991 Q7825 Q161549 Q827525
(Q142,P463,c(Q43229))
action filter_type
action find
entity Q142
relation P463
type Q43229
France were the [ANSWERS]
['Q142', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q142 property:P463 ?a . ?a rdf:type ontology:Q43229 }
African Development Bank European Organization for Nuclear Research International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Open Government Partnership Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization European Coal and Steel Community International Development Association
France were the European Organization for Nuclear Research, European Southern Observatory and World Trade Organization
European Organization for Nuclear Research European Southern Observatory World Trade Organization
action filter_type
action find
entity France
relation member of
type organization
['France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:France property:member_of ?a . ?a rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42944
P127
Q46857
USER
Which scientific method belongs to that organization ?
(c(Q46857),P127,Q42944)
action filter_type
action find_reverse
entity Q42944
relation P127
type Q46857
[{'concept': 'Q46857'}, 'P127', 'Q42944']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q42944 . ?a rdf:type ontology:Q46857 }
European Organization for Nuclear Research
action filter_type
action find_reverse
entity European Organization for Nuclear Research
relation owned by
type scientific method
[{'concept': 'scientific method'}, 'owned by', 'European Organization for Nuclear Research']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:European_Organization_for_Nuclear_Research . ?a rdf:type ontology:scientific_method }
[]
scientific method
Clarification for simple ques.
Q7825
SYSTEM
Did you mean World Trade Organization ?
Q42944 Q151991 Q7825
(c(Q46857),P127,Q42944) (c(Q46857),P127,Q151991) (c(Q46857),P127,Q7825)
[ANSWER]
[{'concept': 'Q46857'}, 'P127', 'Q42944'] [{'concept': 'Q46857'}, 'P127', 'Q151991'] [{'concept': 'Q46857'}, 'P127', 'Q7825']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q42944 . ?a rdf:type ontology:Q46857 }
European Organization for Nuclear Research European Southern Observatory World Trade Organization
Did you mean World Trade Organization ?
World Trade Organization
[{'concept': 'scientific method'}, 'owned by', 'European Organization for Nuclear Research'] [{'concept': 'scientific method'}, 'owned by', 'European Southern Observatory'] [{'concept': 'scientific method'}, 'owned by', 'World Trade Organization']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:European_Organization_for_Nuclear_Research . ?a rdf:type ontology:scientific_method }
[]
Simple Question (Coreferenced)
USER
No, I meant European Organization for Nuclear Research. Could you tell me the answer for that?
(c(Q46857),P127,Q42944)
Q42944
[{'concept': 'Q46857'}, 'P127', 'Q42944']
[{'concept': 'scientific method'}, 'owned by', 'European Organization for Nuclear Research']
[]
Q659478
SYSTEM
Compact Muon Solenoid
Q659478
(c(Q46857),P127,Q42944)
action filter_type
action find_reverse
entity Q42944
relation P127
type Q46857
[ANSWER] belongs to that organization
[{'concept': 'Q46857'}, 'P127', 'Q42944']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q42944 . ?a rdf:type ontology:Q46857 }
Compact Muon Solenoid
Compact Muon Solenoid belongs to that organization
Compact Muon Solenoid
action filter_type
action find_reverse
entity European Organization for Nuclear Research
relation owned by
type scientific method
[{'concept': 'scientific method'}, 'owned by', 'European Organization for Nuclear Research']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:European_Organization_for_Nuclear_Research . ?a rdf:type ontology:scientific_method }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P127
Q83405
USER
Which factory is owned by Denmark ?
(c(Q83405),P127,Q35)
action filter_type
action find_reverse
entity Q35
relation P127
type Q83405
[{'concept': 'Q83405'}, 'P127', 'Q35']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q35 . ?f rdf:type ontology:Q83405 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation owned by
type factory
[{'concept': 'factory'}, 'owned by', 'Denmark']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Denmark . ?f rdf:type ontology:factory }
[]
factory
Q7374497
SYSTEM
Royal Mint
Q7374497
(c(Q83405),P127,Q35)
action filter_type
action find_reverse
entity Q35
relation P127
type Q83405
Denmark [ANSWER] is owned by Denmark
[{'concept': 'Q83405'}, 'P127', 'Q35']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q35 . ?f rdf:type ontology:Q83405 }
Royal Mint
Denmark Royal Mint is owned by Denmark
Royal Mint
action filter_type
action find_reverse
entity Denmark
relation owned by
type factory
[{'concept': 'factory'}, 'owned by', 'Denmark']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Denmark . ?f rdf:type ontology:factory }
[]