Simple Question (Direct)
Simple Question
Q4890142
P106
Q12737077
USER
Which occupation is the profession of Francisco Javier de Landaburu ?
(Q4890142,P106,c(Q12737077))
action filter_type
action find
entity Q4890142
relation P106
type Q12737077
['Q4890142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q4890142 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Francisco Javier de Landaburu
action filter_type
action find
entity Francisco Javier de Landaburu
relation occupation
type occupation
['Francisco Javier de Landaburu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Francisco_Javier_de_Landaburu property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q4890142,P106,c(Q12737077))
action filter_type
action find
entity Q4890142
relation P106
type Q12737077
Ri [ANSWER] is the profession of Francisco Javier de Landaburu
['Q4890142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q4890142 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
Ri politician is the profession of Francisco Javier de Landaburu
politician
action filter_type
action find
entity Francisco Javier de Landaburu
relation occupation
type occupation
['Francisco Javier de Landaburu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Francisco_Javier_de_Landaburu property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4890142
P22
Q502895
USER
Which people have Francisco Javier de Landaburu as father ?
(c(Q502895),P22,Q4890142)
action filter_type
action find_reverse
entity Q4890142
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q4890142']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q4890142 . ?d rdf:type ontology:Q502895 }
Francisco Javier de Landaburu
action filter_type
action find_reverse
entity Francisco Javier de Landaburu
relation father
type common name
[{'concept': 'common name'}, 'father', 'Francisco Javier de Landaburu']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Francisco_Javier_de_Landaburu . ?d rdf:type ontology:common_name }
[]
common name
Q3054074 Q8964753
SYSTEM
Eneko Landaburu, Gorka Landaburu
Q3054074 Q8964753
(c(Q502895),P22,Q4890142)
action filter_type
action find_reverse
entity Q4890142
relation P22
type Q502895
[ANSWERS] have Francisco Javier de Landaburu as father
[{'concept': 'Q502895'}, 'P22', 'Q4890142']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q4890142 . ?d rdf:type ontology:Q502895 }
Eneko Landaburu Gorka Landaburu
Eneko Landaburu and Gorka Landaburu have Francisco Javier de Landaburu as father
Eneko Landaburu Gorka Landaburu
action filter_type
action find_reverse
entity Francisco Javier de Landaburu
relation father
type common name
[{'concept': 'common name'}, 'father', 'Francisco Javier de Landaburu']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Francisco_Javier_de_Landaburu . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3054074 Q8964753
P21
Q290
USER
What are the sex of those people ?
(Q3054074,P21,c(Q290)) (Q8964753,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3054074', 'P21', {'concept': 'Q290'}] ['Q8964753', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?o property:P21 ?l . VALUES ( ?o ) { ( resource:Q3054074 ) ( resource:Q8964753 ) } . ?l rdf:type ontology:Q290 }
Eneko Landaburu Gorka Landaburu
action filter_type
action find
entity prev_answer
relation gender
type sex
['Eneko Landaburu', 'gender', {'concept': 'sex'}] ['Gorka Landaburu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?o property:gender ?l . VALUES ( ?o ) { ( resource:Eneko_Landaburu ) ( resource:Gorka_Landaburu ) } . ?l rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q3054074,P21,c(Q290)) (Q8964753,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are both [ANSWER] and [ANSWER]
['Q3054074', 'P21', {'concept': 'Q290'}] ['Q8964753', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?o property:P21 ?l . VALUES ( ?o ) { ( resource:Q3054074 ) ( resource:Q8964753 ) } . ?l rdf:type ontology:Q290 }
male male
The sex of those people are both male and male
male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Eneko Landaburu', 'gender', {'concept': 'sex'}] ['Gorka Landaburu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?o property:gender ?l . VALUES ( ?o ) { ( resource:Eneko_Landaburu ) ( resource:Gorka_Landaburu ) } . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3054074
P19
Q56061
USER
Where was Eneko Landaburu born ?
(Q3054074,P19,c(Q56061))
action filter_type
action find
entity Q3054074
relation P19
type Q56061
['Q3054074', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3054074 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Eneko Landaburu
action filter_type
action find
entity Eneko Landaburu
relation place of birth
type administrative territorial entity
['Eneko Landaburu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Eneko_Landaburu property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3054074,P19,c(Q56061))
action filter_type
action find
entity Q3054074
relation P19
type Q56061
Eneko Landaburu was born in [ANSWER]
['Q3054074', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3054074 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Paris
Eneko Landaburu was born in Paris
Paris
action filter_type
action find
entity Eneko Landaburu
relation place of birth
type administrative territorial entity
['Eneko Landaburu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Eneko_Landaburu property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3054074
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q90)
action filter_type
action find_reverse
entity Q3054074
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q90']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q3054074 . ?f rdf:type ontology:Q502895 }
Eneko Landaburu
action filter_type
action find_reverse
entity Eneko Landaburu
relation child
type common name
[{'concept': 'common name'}, 'child', 'Paris']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Eneko_Landaburu . ?f rdf:type ontology:common_name }
[]
common name
Q4890142
SYSTEM
Francisco Javier de Landaburu
Q4890142
(c(Q502895),P40,Q90)
action filter_type
action find_reverse
entity Q3054074
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q90']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q3054074 . ?f rdf:type ontology:Q502895 }
Francisco Javier de Landaburu
Francisco Javier de Landaburu is that one
Francisco Javier de Landaburu
action filter_type
action find_reverse
entity Eneko Landaburu
relation child
type common name
[{'concept': 'common name'}, 'child', 'Paris']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Eneko_Landaburu . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2340460
P725
Q502895 Q95074
USER
How many fictional characters did around the same number of people dub for as Captain Falcon ?
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2340460
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q2340460 property:P725 ?u . ?u rdf:type ontology:Q95074 } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?r ) WHERE { ?d property:P725 ?v . ?d rdf:type ontology:Q95074 . ?v rdf:type ontology:Q502895 } GROUP BY ?d } }
Captain Falcon
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Captain Falcon
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Captain_Falcon property:voice_actor ?u . ?u rdf:type ontology:fictional_character } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?r ) WHERE { ?d property:voice_actor ?v . ?d rdf:type ontology:fictional_character . ?v rdf:type ontology:common_name } GROUP BY ?d } }
[]
common name fictional character
SYSTEM
3
Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2340460
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q2340460 property:P725 ?u . ?u rdf:type ontology:Q95074 } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?r ) WHERE { ?d property:P725 ?v . ?d rdf:type ontology:Q95074 . ?v rdf:type ontology:Q502895 } GROUP BY ?d } }
Samurai Goroh Samus Aran Captain Falcon
3
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Captain Falcon
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Captain_Falcon property:voice_actor ?u . ?u rdf:type ontology:fictional_character } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?r ) WHERE { ?d property:voice_actor ?v . ?d rdf:type ontology:fictional_character . ?v rdf:type ontology:common_name } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2725247
P725
Q502895 Q95074
USER
And what about Ness?
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2725247
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?a ) WHERE { ?h rdf:type ontology:Q95074 . ?r rdf:type ontology:Q502895 . ?h property:P725 ?r } GROUP BY ?h } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q2725247 property:P725 ?e . ?e rdf:type ontology:Q95074 } } }
Ness
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Ness
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?a ) WHERE { ?h rdf:type ontology:fictional_character . ?r rdf:type ontology:common_name . ?h property:voice_actor ?r } GROUP BY ?h } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Ness property:voice_actor ?e . ?e rdf:type ontology:fictional_character } } }
[]
common name fictional character
SYSTEM
15
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2725247
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?a ) WHERE { ?h rdf:type ontology:Q95074 . ?r rdf:type ontology:Q502895 . ?h property:P725 ?r } GROUP BY ?h } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q2725247 property:P725 ?e . ?e rdf:type ontology:Q95074 } } }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
15
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Ness
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?a ) WHERE { ?h rdf:type ontology:fictional_character . ?r rdf:type ontology:common_name . ?h property:voice_actor ?r } GROUP BY ?h } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Ness property:voice_actor ?e . ?e rdf:type ontology:fictional_character } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q895526 Q1307214 Q12737077
USER
Which occupations are appointed by approximately 1 authority organs or forms of government ?
(c(Q12737077),P748,c(Q895526)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?x WHERE { { ?x property:P748 ?p . ?x rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q895526 } UNION { ?x property:P748 ?p . ?x rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q1307214 } } GROUP BY ?x } . FILTER ( ?c = 1 ) }
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type form of government
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?x WHERE { { ?x property:appointed_by ?p . ?x rdf:type ontology:occupation . ?p rdf:type ontology:authority_organ } UNION { ?x property:appointed_by ?p . ?x rdf:type ontology:occupation . ?p rdf:type ontology:form_of_government } } GROUP BY ?x } . FILTER ( ?c = 1 ) }
[]
authority organ form of government occupation
Q25863345 Q967750 Q217217
SYSTEM
Secretary of State for International Trade, United States Secretary of Labor, Lord Chancellor
Q2666591 Q1072417 Q1355456 Q2287650 Q1507619 Q5333410 Q261746 Q910308 Q1029955 Q1753754 Q642859 Q967762 Q943379 Q940135 Q2305968 Q7444340 Q2419581 Q25863345 Q2747647 Q583809 Q13645132 Q636207 Q2003296 Q967750 Q2962001 Q783785 Q1072415 Q213107 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q967737 Q162754 Q6542448 Q2301213 Q217217 Q1281611 Q1658460 Q1752225 Q687908 Q786242 Q1434880
(c(Q12737077),P748,c(Q895526)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
value 1
The [ANSWERS] are appointed by approximately 1 authority organs or forms of government
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?x WHERE { { ?x property:P748 ?p . ?x rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q895526 } UNION { ?x property:P748 ?p . ?x rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q1307214 } } GROUP BY ?x } . FILTER ( ?c = 1 ) }
Chair of the Federal Reserve Chief of Staff of the United States Air Force Lord Chamberlain United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Economic Secretary to the Treasury United States Secretary of the Air Force Lord Privy Seal United States Secretary of Agriculture Master of the Rolls United States Secretary of Homeland Security United States Secretary of Education Lord President of the Council United States Secretary of the Navy United States Secretary of Health and Human Services Secretary of State for Dominion Affairs United States Secretary of Housing and Urban Development Secretary of State for International Trade Secretary of State for Defence Solicitor General for England and Wales Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor Chief of the Defence Staff Chief of Staff of the United States Army Chief of Naval Operations Prime Minister of Belgium Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense United States Secretary of Transportation Chancellor of the Duchy of Lancaster Librarian of Congress United States Deputy Secretary of State Lord Chancellor Lieutenant Governor of Jersey United States Secretary of Veterans Affairs Lord Lieutenant of Ireland Lord Chief Justice of England and Wales White House Chief of Staff Surgeon General of the United States
The Secretary of State for International Trade, United States Secretary of Labor and Lord Chancellor are appointed by approximately 1 authority organs or forms of government
Secretary of State for International Trade United States Secretary of Labor Lord Chancellor
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type form of government
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?x WHERE { { ?x property:appointed_by ?p . ?x rdf:type ontology:occupation . ?p rdf:type ontology:authority_organ } UNION { ?x property:appointed_by ?p . ?x rdf:type ontology:occupation . ?p rdf:type ontology:form_of_government } } GROUP BY ?x } . FILTER ( ?c = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25863345
P39
Q502895
USER
Which person held the position of that occupation ?
(c(Q502895),P39,Q25863345)
action filter_type
action find_reverse
entity Q25863345
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q25863345']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q25863345 . ?t rdf:type ontology:Q502895 }
Secretary of State for International Trade
action filter_type
action find_reverse
entity Secretary of State for International Trade
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for International Trade']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:Secretary_of_State_for_International_Trade . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q25863345
SYSTEM
Did you mean Secretary of State for International Trade ?
Q25863345 Q967750 Q217217
(c(Q502895),P39,Q25863345) (c(Q502895),P39,Q967750) (c(Q502895),P39,Q217217)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q25863345'] [{'concept': 'Q502895'}, 'P39', 'Q967750'] [{'concept': 'Q502895'}, 'P39', 'Q217217']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q25863345 . ?t rdf:type ontology:Q502895 }
Secretary of State for International Trade United States Secretary of Labor Lord Chancellor
Did you mean Secretary of State for International Trade ?
Secretary of State for International Trade
[{'concept': 'common name'}, 'position held', 'Secretary of State for International Trade'] [{'concept': 'common name'}, 'position held', 'United States Secretary of Labor'] [{'concept': 'common name'}, 'position held', 'Lord Chancellor']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:Secretary_of_State_for_International_Trade . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P39,Q25863345)
[{'concept': 'Q502895'}, 'P39', 'Q25863345']
[{'concept': 'common name'}, 'position held', 'Secretary of State for International Trade']
[]
Q332374
SYSTEM
Liam Fox
Q332374
(c(Q502895),P39,Q25863345)
action filter_type
action find_reverse
entity Q25863345
relation P39
type Q502895
[ANSWER] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q25863345']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q25863345 . ?t rdf:type ontology:Q502895 }
Liam Fox
Liam Fox held the position of that occupation
Liam Fox
action filter_type
action find_reverse
entity Secretary of State for International Trade
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for International Trade']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:Secretary_of_State_for_International_Trade . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q332374 Q15270335
P937
Q56061
USER
Is Qodratabad, Fahraj the work location of that person ?
(Q332374,P937,Q15270335)
action is_in
entity Q15270335
action find
entity Q332374
relation P937
['Q332374', 'P937', 'Q15270335']
ASK WHERE { resource:Q332374 property:P937 resource:Q15270335 }
Liam Fox Qodratabad, Fahraj
action is_in
entity Qodratabad, Fahraj
action find
entity Liam Fox
relation work location
['Liam Fox', 'work location', 'Qodratabad, Fahraj']
ASK WHERE { resource:Liam_Fox property:work_location resource:Qodratabad,_Fahraj }
[]
administrative territorial entity
SYSTEM
NO
(Q332374,P937,Q15270335)
action is_in
entity Q15270335
action find
entity Q332374
relation P937
[ANSWER]
['Q332374', 'P937', 'Q15270335']
ASK WHERE { resource:Q332374 property:P937 resource:Q15270335 }
No
action is_in
entity Qodratabad, Fahraj
action find
entity Liam Fox
relation work location
['Liam Fox', 'work location', 'Qodratabad, Fahraj']
ASK WHERE { resource:Liam_Fox property:work_location resource:Qodratabad,_Fahraj }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q967750 Q20468 Q30
P17
Q15617994
USER
Is United States Secretary of Labor located in San Damiano Macra and United States of America ?
(Q967750,P17,Q20468) (Q967750,P17,Q30)
action is_in
entity Q967750
action intersection
action find_reverse
entity Q20468
relation P17
action find_reverse
entity Q30
relation P17
['Q967750', 'P17', 'Q20468'] ['Q967750', 'P17', 'Q30']
ASK WHERE { resource:Q967750 property:P17 resource:Q20468 . resource:Q967750 property:P17 resource:Q30 }
United States Secretary of Labor San Damiano Macra United States of America
action is_in
entity United States Secretary of Labor
action intersection
action find_reverse
entity San Damiano Macra
relation country
action find_reverse
entity United States of America
relation country
['United States Secretary of Labor', 'country', 'San Damiano Macra'] ['United States Secretary of Labor', 'country', 'United States of America']
ASK WHERE { resource:United_States_Secretary_of_Labor property:country resource:San_Damiano_Macra . resource:United_States_Secretary_of_Labor property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q967750,P17,Q20468) (Q967750,P17,Q30)
action is_in
entity Q967750
action intersection
action find_reverse
entity Q20468
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q967750', 'P17', 'Q20468'] ['Q967750', 'P17', 'Q30']
ASK WHERE { resource:Q967750 property:P17 resource:Q20468 . resource:Q967750 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity United States Secretary of Labor
action intersection
action find_reverse
entity San Damiano Macra
relation country
action find_reverse
entity United States of America
relation country
['United States Secretary of Labor', 'country', 'San Damiano Macra'] ['United States Secretary of Labor', 'country', 'United States of America']
ASK WHERE { resource:United_States_Secretary_of_Labor property:country resource:San_Damiano_Macra . resource:United_States_Secretary_of_Labor property:country resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1730030 Q8964753
P19 P27
Q15617994
USER
Which administrative territories are the native countriesof Gorka Landaburu or are the birthplace of Karl-Heinz Wohland ?
OR((Q8964753,P27,c(Q15617994)), (Q1730030,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q8964753
relation P27
action find
entity Q1730030
relation P19
type Q15617994
{'OR': [['Q8964753', 'P27', {'concept': 'Q15617994'}], ['Q1730030', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q8964753 property:P27 ?n } UNION { resource:Q1730030 property:P19 ?n } } }
Karl-Heinz Wohland Gorka Landaburu
action filter_type
action union
action find
entity Gorka Landaburu
relation country of citizenship
action find
entity Karl-Heinz Wohland
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Gorka Landaburu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Karl-Heinz Wohland', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Gorka_Landaburu property:country_of_citizenship ?n } UNION { resource:Karl-Heinz_Wohland property:place_of_birth ?n } } }
[]
designation for an administrative territorial entity
Q142 Q507077
SYSTEM
France, Thurnau
Q142 Q507077
OR((Q8964753,P27,c(Q15617994)), (Q1730030,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q8964753
relation P27
action find
entity Q1730030
relation P19
type Q15617994
[ANSWERS] are the native countriesof Gorka Landaburu or are the birthplace of Karl-Heinz Wohland
{'OR': [['Q8964753', 'P27', {'concept': 'Q15617994'}], ['Q1730030', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q8964753 property:P27 ?n } UNION { resource:Q1730030 property:P19 ?n } } }
France Thurnau
France and Thurnau are the native countriesof Gorka Landaburu or are the birthplace of Karl-Heinz Wohland
France Thurnau
action filter_type
action union
action find
entity Gorka Landaburu
relation country of citizenship
action find
entity Karl-Heinz Wohland
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Gorka Landaburu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Karl-Heinz Wohland', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Gorka_Landaburu property:country_of_citizenship ?n } UNION { resource:Karl-Heinz_Wohland property:place_of_birth ?n } } }
[]