Simple Question (Direct)
Simple Question
Q297006
P166
Q193622
USER
What was awarded to Akhmad Kadyrov ?
(Q297006,P166,c(Q193622))
action filter_type
action find
entity Q297006
relation P166
type Q193622
['Q297006', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?b WHERE { resource:Q297006 property:P166 ?b . ?b rdf:type ontology:Q193622 }
Akhmad Kadyrov
action filter_type
action find
entity Akhmad Kadyrov
relation award received
type order
['Akhmad Kadyrov', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?b WHERE { resource:Akhmad_Kadyrov property:award_received ?b . ?b rdf:type ontology:order }
[]
order
Q791135
SYSTEM
Order of Friendship
Q791135
(Q297006,P166,c(Q193622))
action filter_type
action find
entity Q297006
relation P166
type Q193622
The [ANSWER] was awarded to Akhmad Kadyrov
['Q297006', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?b WHERE { resource:Q297006 property:P166 ?b . ?b rdf:type ontology:Q193622 }
Order of Friendship
The Order of Friendship was awarded to Akhmad Kadyrov
Order of Friendship
action filter_type
action find
entity Akhmad Kadyrov
relation award received
type order
['Akhmad Kadyrov', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?b WHERE { resource:Akhmad_Kadyrov property:award_received ?b . ?b rdf:type ontology:order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q297006
P1576
Q151885
USER
What does that person live like ?
(Q791135,P1576,c(Q151885))
action filter_type
action find
entity Q297006
relation P1576
type Q151885
['Q791135', 'P1576', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q297006 property:P1576 ?s . ?s rdf:type ontology:Q151885 }
Akhmad Kadyrov
action filter_type
action find
entity Akhmad Kadyrov
relation lifestyle
type concept
['Order of Friendship', 'lifestyle', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Akhmad_Kadyrov property:lifestyle ?s . ?s rdf:type ontology:concept }
[]
concept
Q12328016
SYSTEM
mystic
Q12328016
(Q791135,P1576,c(Q151885))
action filter_type
action find
entity Q297006
relation P1576
type Q151885
That person lives in [ANSWER]
['Q791135', 'P1576', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q297006 property:P1576 ?s . ?s rdf:type ontology:Q151885 }
mystic
That person lives in mystic
mystic
action filter_type
action find
entity Akhmad Kadyrov
relation lifestyle
type concept
['Order of Friendship', 'lifestyle', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Akhmad_Kadyrov property:lifestyle ?s . ?s rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q297006
P22
Q502895
USER
How many people have Akhmad Kadyrov as father ?
(c(Q502895),P22,Q297006)
action count
action filter_type
action find_reverse
entity Q297006
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q297006']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P22 resource:Q297006 . ?j rdf:type ontology:Q502895 }
Akhmad Kadyrov
action count
action filter_type
action find_reverse
entity Akhmad Kadyrov
relation father
type common name
[{'concept': 'common name'}, 'father', 'Akhmad Kadyrov']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:father resource:Akhmad_Kadyrov . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q217115
(c(Q502895),P22,Q297006)
action count
action filter_type
action find_reverse
entity Q297006
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q297006']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P22 resource:Q297006 . ?j rdf:type ontology:Q502895 }
Ramzan Kadyrov
1
action count
action filter_type
action find_reverse
entity Akhmad Kadyrov
relation father
type common name
[{'concept': 'common name'}, 'father', 'Akhmad Kadyrov']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:father resource:Akhmad_Kadyrov . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q18527834
P22
Q502895
USER
And what about Jonathan Birch?
(c(Q502895),P22,Q18527834)
action count
action filter_type
action find_reverse
entity Q18527834
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q18527834']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P22 resource:Q18527834 . ?p rdf:type ontology:Q502895 }
Jonathan Birch
action count
action filter_type
action find_reverse
entity Jonathan Birch
relation father
type common name
[{'concept': 'common name'}, 'father', 'Jonathan Birch']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:father resource:Jonathan_Birch . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q3215421
(c(Q502895),P22,Q18527834)
action count
action filter_type
action find_reverse
entity Q18527834
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q18527834']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P22 resource:Q18527834 . ?p rdf:type ontology:Q502895 }
Charles Bell Birch
1
action count
action filter_type
action find_reverse
entity Jonathan Birch
relation father
type common name
[{'concept': 'common name'}, 'father', 'Jonathan Birch']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:father resource:Jonathan_Birch . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q791135
P1027
Q15617994
USER
Which administrative territory gives Order of Friendship ?
(Q791135,P1027,c(Q15617994))
action filter_type
action find
entity Q791135
relation P1027
type Q15617994
['Q791135', 'P1027', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q791135 property:P1027 ?w . ?w rdf:type ontology:Q15617994 }
Order of Friendship
action filter_type
action find
entity Order of Friendship
relation conferred by
type designation for an administrative territorial entity
['Order of Friendship', 'conferred by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Order_of_Friendship property:conferred_by ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q791135,P1027,c(Q15617994))
action filter_type
action find
entity Q791135
relation P1027
type Q15617994
[ANSWER] gives Order of Friendship
['Q791135', 'P1027', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q791135 property:P1027 ?w . ?w rdf:type ontology:Q15617994 }
Russia
Russia gives Order of Friendship
Russia
action filter_type
action find
entity Order of Friendship
relation conferred by
type designation for an administrative territorial entity
['Order of Friendship', 'conferred by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Order_of_Friendship property:conferred_by ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ontology:Q15617994 . resource:Q781 property:P530 ?j } } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?k ) WHERE { ?c rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 . ?c property:P530 ?b } GROUP BY ?c } }
Antigua and Barbuda
action greater
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 Antigua and Barbuda
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 ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antigua_and_Barbuda property:diplomatic_relation ?j } } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?k ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?b } GROUP BY ?c } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ontology:Q15617994 . resource:Q781 property:P530 ?j } } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?k ) WHERE { ?c rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 . ?c property:P530 ?b } GROUP BY ?c } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda
Germany Australia Denmark
action greater
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 Antigua and Barbuda
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 ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antigua_and_Barbuda property:diplomatic_relation ?j } } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?k ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?b } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q691
P530
Q1048835 Q15617994
USER
And how about Papua New Guinea?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?l ) WHERE { ?i property:P530 ?h . ?i rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q691 property:P530 ?e } } . FILTER ( ?l > ?n ) }
Papua New Guinea
action greater
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 Papua New Guinea
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 ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?l ) WHERE { ?i property:diplomatic_relation ?h . ?i rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?e } } . FILTER ( ?l > ?n ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?l ) WHERE { ?i property:P530 ?h . ?i rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q691 property:P530 ?e } } . FILTER ( ?l > ?n ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
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 Papua New Guinea
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 ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?l ) WHERE { ?i property:diplomatic_relation ?h . ?i rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?e } } . FILTER ( ?l > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5276395
P425
Q151885 Q1792379 Q151885
USER
How many concepts do around the same number of concepts and art genres belong to as gamer ?
(c(Q151885),P425,c(Q151885)|c(Q1792379))
action count
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q151885
action find_tuple_counts
relation P425
type Q151885
type Q1792379
action count
action filter_multi_types
action find
entity Q5276395
relation P425
type Q151885
type Q1792379
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q151885'}, {'concept': 'Q1792379'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?e ) WHERE { { ?w property:P425 ?y . ?w rdf:type ontology:Q151885 . ?y rdf:type ontology:Q151885 } UNION { ?w property:P425 ?y . ?w rdf:type ontology:Q151885 . ?y rdf:type ontology:Q1792379 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q5276395 property:P425 ?k . { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1792379 ) ( ontology:Q151885 ) } } } } . FILTER ( ?e = ?d ) }
gamer
action count
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type concept
action find_tuple_counts
relation field of this occupation
type concept
type art genre
action count
action filter_multi_types
action find
entity gamer
relation field of this occupation
type concept
type art genre
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'concept'}, {'concept': 'art genre'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?e ) WHERE { { ?w property:field_of_this_occupation ?y . ?w rdf:type ontology:concept . ?y rdf:type ontology:concept } UNION { ?w property:field_of_this_occupation ?y . ?w rdf:type ontology:concept . ?y rdf:type ontology:art_genre } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:gamer property:field_of_this_occupation ?k . { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:art_genre ) ( ontology:concept ) } } } } . FILTER ( ?e = ?d ) }
[]
concept art genre concept
SYSTEM
163
Q15978337 Q12020057 Q19509201 Q275186 Q22962951 Q775318 Q21625815 Q389565 Q4621445 Q19890761 Q11690405 Q15472169 Q24698392 Q15077007 Q214917 Q15980704 Q20725072 Q5501373 Q10732476 Q15627169 Q14948222 Q24262584 Q1939892 Q20726620 Q4353426 Q20971451 Q181043 Q9394993 Q10370560 Q3303297 Q15962734 Q2467532 Q12039558 Q17351861 Q13382576 Q16003550 Q2159907 Q1476215 Q24259627 Q20708269 Q17010072 Q12773225 Q24293741 Q18510179 Q18515558 Q12961474 Q5027838 Q19890746 Q18510172 Q18617002 Q779458 Q23770547 Q21263917 Q12004621 Q21084228 Q21694753 Q12797895 Q14616728 Q304787 Q18667447 Q1125062 Q13464374 Q3595924 Q18702210 Q2066131 Q16830344 Q27431227 Q18810049 Q16323111 Q15954665 Q1414937 Q4854747 Q2873500 Q4330518 Q11513337 Q26270618 Q10871364 Q13381376 Q26248338 Q1201898 Q16278103 Q27532776 Q16240266 Q13381863 Q1021386 Q193432 Q20740414 Q1636680 Q20650523 Q11499147 Q26102 Q1409420 Q21578283 Q5307556 Q21121588 Q2500638 Q860918 Q23770318 Q17176618 Q3578589 Q890103 Q455011 Q4197743 Q15966439 Q7535502 Q3562775 Q16003594 Q20747150 Q20965770 Q19509237 Q13382749 Q20650518 Q16004471 Q23375738 Q1251441 Q18120029 Q15982795 Q18814798 Q1413522 Q19801627 Q15020911 Q15986555 Q1714828 Q22082717 Q26219487 Q15709642 Q3242115 Q3738757 Q17769800 Q12761281 Q2901587 Q22810659 Q322170 Q13472585 Q21286455 Q27431213 Q23761019 Q10729326 Q1344452 Q16755977 Q5276395 Q3014296 Q27158601 Q21081635 Q273283 Q12216234 Q1184268 Q455595 Q23663603 Q4964182 Q23038345 Q4887411 Q27247215 Q12327806 Q10866633 Q931260 Q15253558 Q20706626 Q637304 Q12912932 Q10843402 Q18664049 Q15883433
(c(Q151885),P425,c(Q151885)|c(Q1792379))
action count
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q151885
action find_tuple_counts
relation P425
type Q151885
type Q1792379
action count
action filter_multi_types
action find
entity Q5276395
relation P425
type Q151885
type Q1792379
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q151885'}, {'concept': 'Q1792379'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?e ) WHERE { { ?w property:P425 ?y . ?w rdf:type ontology:Q151885 . ?y rdf:type ontology:Q151885 } UNION { ?w property:P425 ?y . ?w rdf:type ontology:Q151885 . ?y rdf:type ontology:Q1792379 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q5276395 property:P425 ?k . { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1792379 ) ( ontology:Q151885 ) } } } } . FILTER ( ?e = ?d ) }
social critic homeopath LGBT rights activist gang rapist internaut melomaniac ticket controller vigilante artivist hooligan patron of the arts antiimperialist podcaster playwright matchmaker torturer freight conductor art collector trade unionist con artist bible translator Amateur radio operator knife thrower money mule radiesthesist dissident ice skater sertanista ironmaster mutineer exorcist Go player Gaelic football player rower pacifist criminal human rights activist motorcycle trials rider scrabble player militant slave anarcho-syndicalist abolitionist futsal player anarchist campaign manager Internet activist women's rights activist dollmaker ascetic Serologist medical student fortune-teller money counterfeiter semiologist occultist runner dowsing pesäpallo player rebel tug of war competitor Qāriʾ bandy player sportsperson feminist figure of scandal cosplayer peace activist antisemit combatant bandurist adventurer research subject athletics competitor rowing person baseball player weightlifter dutarist Shahidka squash player rowing umpire pickpocket fencer civil rights advocate fan base jumper Renaissance humanist brigand political activist whistleblower feudatory rowing official drill instructor rowing coach creator Esperantist Otologist smuggler environmentalist mule Shill player war criminal Skinner thief socialist guerrilla winter sports practitioner animal rights advocate polar explorer bank robber kayaker crocheter leader bibliophile bodybuilder wheelchair tennis player impostor ski mountaineer amateur astronomer chess organiser hunter eugenicist cross country runner snowboarder revolutionary counterfeiter slave trader fence yogi nightclub owner suffragette philanthropist critic of religions cookery writer intern pirate discoverer racial theorist gamer motorcycle racer weaver ocean rower beggar Water-seller delinquent amateur acupuncturist philosopher Wikipedian benefactor confidence trickster motocross rider speed skater murderer activist arms trafficker Pickup artist mufassir swimmer ski-orienteer mass murderer
163
action count
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type concept
action find_tuple_counts
relation field of this occupation
type concept
type art genre
action count
action filter_multi_types
action find
entity gamer
relation field of this occupation
type concept
type art genre
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'concept'}, {'concept': 'art genre'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?e ) WHERE { { ?w property:field_of_this_occupation ?y . ?w rdf:type ontology:concept . ?y rdf:type ontology:concept } UNION { ?w property:field_of_this_occupation ?y . ?w rdf:type ontology:concept . ?y rdf:type ontology:art_genre } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:gamer property:field_of_this_occupation ?k . { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:art_genre ) ( ontology:concept ) } } } } . FILTER ( ?e = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q21263917
P425
Q151885 Q1792379 Q151885
USER
And what about medical student?
(c(Q151885),P425,c(Q151885)|c(Q1792379))
action count
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q151885
action find_tuple_counts
relation P425
type Q151885
type Q1792379
action count
action filter_multi_types
action find
entity Q21263917
relation P425
type Q151885
type Q1792379
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q151885'}, {'concept': 'Q1792379'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?l WHERE { VALUES ( ?a ) { ( ontology:Q151885 ) ( ontology:Q1792379 ) } . ?j rdf:type ?a } GROUP BY ?l } . FILTER ( ?v = ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { { ?e rdf:type ontology:Q1792379 } UNION { ?e rdf:type ontology:Q151885 } } . resource:Q21263917 property:P425 ?e } } }
medical student
action count
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type concept
action find_tuple_counts
relation field of this occupation
type concept
type art genre
action count
action filter_multi_types
action find
entity medical student
relation field of this occupation
type concept
type art genre
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'concept'}, {'concept': 'art genre'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?l WHERE { VALUES ( ?a ) { ( ontology:concept ) ( ontology:art_genre ) } . ?j rdf:type ?a } GROUP BY ?l } . FILTER ( ?v = ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { { ?e rdf:type ontology:art_genre } UNION { ?e rdf:type ontology:concept } } . resource:medical_student property:field_of_this_occupation ?e } } }
[]
concept art genre concept
SYSTEM
163
Q15978337 Q12020057 Q19509201 Q275186 Q22962951 Q775318 Q21625815 Q389565 Q4621445 Q19890761 Q11690405 Q15472169 Q24698392 Q15077007 Q214917 Q15980704 Q20725072 Q5501373 Q10732476 Q15627169 Q14948222 Q24262584 Q1939892 Q20726620 Q4353426 Q20971451 Q181043 Q9394993 Q10370560 Q3303297 Q15962734 Q2467532 Q12039558 Q17351861 Q13382576 Q16003550 Q2159907 Q1476215 Q24259627 Q20708269 Q17010072 Q12773225 Q24293741 Q18510179 Q18515558 Q12961474 Q5027838 Q19890746 Q18510172 Q18617002 Q779458 Q23770547 Q21263917 Q12004621 Q21084228 Q21694753 Q12797895 Q14616728 Q304787 Q18667447 Q1125062 Q13464374 Q3595924 Q18702210 Q2066131 Q16830344 Q27431227 Q18810049 Q16323111 Q15954665 Q1414937 Q4854747 Q2873500 Q4330518 Q11513337 Q26270618 Q10871364 Q13381376 Q26248338 Q1201898 Q16278103 Q27532776 Q16240266 Q13381863 Q1021386 Q193432 Q20740414 Q1636680 Q20650523 Q11499147 Q26102 Q1409420 Q21578283 Q5307556 Q21121588 Q2500638 Q860918 Q23770318 Q17176618 Q3578589 Q890103 Q455011 Q4197743 Q15966439 Q7535502 Q3562775 Q16003594 Q20747150 Q20965770 Q19509237 Q13382749 Q20650518 Q16004471 Q23375738 Q1251441 Q18120029 Q15982795 Q18814798 Q1413522 Q19801627 Q15020911 Q15986555 Q1714828 Q22082717 Q26219487 Q15709642 Q3242115 Q3738757 Q17769800 Q12761281 Q2901587 Q22810659 Q322170 Q13472585 Q21286455 Q27431213 Q23761019 Q10729326 Q1344452 Q16755977 Q5276395 Q3014296 Q27158601 Q21081635 Q273283 Q12216234 Q1184268 Q455595 Q23663603 Q4964182 Q23038345 Q4887411 Q27247215 Q12327806 Q10866633 Q931260 Q15253558 Q20706626 Q637304 Q12912932 Q10843402 Q18664049 Q15883433
(c(Q151885),P425,c(Q151885)|c(Q1792379))
action count
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q151885
action find_tuple_counts
relation P425
type Q151885
type Q1792379
action count
action filter_multi_types
action find
entity Q21263917
relation P425
type Q151885
type Q1792379
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q151885'}, {'concept': 'Q1792379'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?l WHERE { VALUES ( ?a ) { ( ontology:Q151885 ) ( ontology:Q1792379 ) } . ?j rdf:type ?a } GROUP BY ?l } . FILTER ( ?v = ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { { ?e rdf:type ontology:Q1792379 } UNION { ?e rdf:type ontology:Q151885 } } . resource:Q21263917 property:P425 ?e } } }
social critic homeopath LGBT rights activist gang rapist internaut melomaniac ticket controller vigilante artivist hooligan patron of the arts antiimperialist podcaster playwright matchmaker torturer freight conductor art collector trade unionist con artist bible translator Amateur radio operator knife thrower money mule radiesthesist dissident ice skater sertanista ironmaster mutineer exorcist Go player Gaelic football player rower pacifist criminal human rights activist motorcycle trials rider scrabble player militant slave anarcho-syndicalist abolitionist futsal player anarchist campaign manager Internet activist women's rights activist dollmaker ascetic Serologist medical student fortune-teller money counterfeiter semiologist occultist runner dowsing pesäpallo player rebel tug of war competitor Qāriʾ bandy player sportsperson feminist figure of scandal cosplayer peace activist antisemit combatant bandurist adventurer research subject athletics competitor rowing person baseball player weightlifter dutarist Shahidka squash player rowing umpire pickpocket fencer civil rights advocate fan base jumper Renaissance humanist brigand political activist whistleblower feudatory rowing official drill instructor rowing coach creator Esperantist Otologist smuggler environmentalist mule Shill player war criminal Skinner thief socialist guerrilla winter sports practitioner animal rights advocate polar explorer bank robber kayaker crocheter leader bibliophile bodybuilder wheelchair tennis player impostor ski mountaineer amateur astronomer chess organiser hunter eugenicist cross country runner snowboarder revolutionary counterfeiter slave trader fence yogi nightclub owner suffragette philanthropist critic of religions cookery writer intern pirate discoverer racial theorist gamer motorcycle racer weaver ocean rower beggar Water-seller delinquent amateur acupuncturist philosopher Wikipedian benefactor confidence trickster motocross rider speed skater murderer activist arms trafficker Pickup artist mufassir swimmer ski-orienteer mass murderer
163
action count
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type concept
action find_tuple_counts
relation field of this occupation
type concept
type art genre
action count
action filter_multi_types
action find
entity medical student
relation field of this occupation
type concept
type art genre
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'concept'}, {'concept': 'art genre'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?l WHERE { VALUES ( ?a ) { ( ontology:concept ) ( ontology:art_genre ) } . ?j rdf:type ?a } GROUP BY ?l } . FILTER ( ?v = ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { { ?e rdf:type ontology:art_genre } UNION { ?e rdf:type ontology:concept } } . resource:medical_student property:field_of_this_occupation ?e } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with max number of political territories ?
(c(Q1048835),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?y ) WHERE { ?n property:P530 ?b . ?n rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?n } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?k ) WHERE { ?x property:P530 ?d . ?d rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?y ) WHERE { ?n property:diplomatic_relation ?b . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?n } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?k ) WHERE { ?x property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } } }
[]
designation for an administrative territorial entity political territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q1048835),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWER] holds diplomatic relationship with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?y ) WHERE { ?n property:P530 ?b . ?n rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?n } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?k ) WHERE { ?x property:P530 ?d . ?d rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } } }
Italy
Italy holds diplomatic relationship with max number of political territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?y ) WHERE { ?n property:diplomatic_relation ?b . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?n } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?k ) WHERE { ?x property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with exactly 124 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 124
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 . ?x property:P530 ?j } GROUP BY ?x } . FILTER ( ?w = 124 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 124
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?j } GROUP BY ?x } . FILTER ( ?w = 124 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1
Q183
(c(Q1048835),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 124
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 . ?x property:P530 ?j } GROUP BY ?x } . FILTER ( ?w = 124 ) }
Germany
1
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 124
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?j } GROUP BY ?x } . FILTER ( ?w = 124 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q172506 Q297006
P19 P20
Q56061
USER
Which administrative territories did Akhmad Kadyrov expire or are the birthplace of Jonathan Williams ?
OR((Q297006,P20,c(Q56061)), (Q172506,P19,c(Q56061)))
action filter_type
action union
action find
entity Q297006
relation P20
action find
entity Q172506
relation P19
type Q56061
{'OR': [['Q297006', 'P20', {'concept': 'Q56061'}], ['Q172506', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q297006 property:P20 ?x } UNION { resource:Q172506 property:P19 ?x } } . ?x rdf:type ontology:Q56061 }
Jonathan Williams Akhmad Kadyrov
action filter_type
action union
action find
entity Akhmad Kadyrov
relation place of death
action find
entity Jonathan Williams
relation place of birth
type administrative territorial entity
{'OR': [['Akhmad Kadyrov', 'place of death', {'concept': 'administrative territorial entity'}], ['Jonathan Williams', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Akhmad_Kadyrov property:place_of_death ?x } UNION { resource:Jonathan_Williams property:place_of_birth ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5196 Q85
SYSTEM
Grozny, Cairo
Q5196 Q85
OR((Q297006,P20,c(Q56061)), (Q172506,P19,c(Q56061)))
action filter_type
action union
action find
entity Q297006
relation P20
action find
entity Q172506
relation P19
type Q56061
Akhmad Kadyrov expired in [ANSWERS] or are the birthplace of Jonathan Williams
{'OR': [['Q297006', 'P20', {'concept': 'Q56061'}], ['Q172506', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q297006 property:P20 ?x } UNION { resource:Q172506 property:P19 ?x } } . ?x rdf:type ontology:Q56061 }
Grozny Cairo
Akhmad Kadyrov expired in Grozny and Cairo or are the birthplace of Jonathan Williams
Grozny Cairo
action filter_type
action union
action find
entity Akhmad Kadyrov
relation place of death
action find
entity Jonathan Williams
relation place of birth
type administrative territorial entity
{'OR': [['Akhmad Kadyrov', 'place of death', {'concept': 'administrative territorial entity'}], ['Jonathan Williams', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Akhmad_Kadyrov property:place_of_death ?x } UNION { resource:Jonathan_Williams property:place_of_birth ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5196 Q85
P190
Q515
USER
Which cities are twin town of Grozny and Cairo ?
(c(Q515),P190,Q5196) (c(Q515),P190,Q85)
action union
action filter_type
action find
entity Q5196
relation P190
type Q515
action filter_type
action find
entity Q85
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q5196'] [{'concept': 'Q515'}, 'P190', 'Q85']
SELECT DISTINCT ?y WHERE { ?o property:P190 ?y . VALUES ( ?o ) { ( resource:Q85 ) ( resource:Q5196 ) } }
Grozny Cairo
action union
action filter_type
action find
entity Grozny
relation sister city
type city
action filter_type
action find
entity Cairo
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Grozny'] [{'concept': 'city'}, 'sister city', 'Cairo']
SELECT DISTINCT ?y WHERE { ?o property:sister_city ?y . VALUES ( ?o ) { ( resource:Cairo ) ( resource:Grozny ) } }
[]
city
Q1486 Q1794 Q11194
SYSTEM
Buenos Aires, Frankfurt, Sarajevo
Q107401 Q8684 Q1486 Q1794 Q7473516 Q11194
(c(Q515),P190,Q5196) (c(Q515),P190,Q85)
action union
action filter_type
action find
entity Q5196
relation P190
type Q515
action filter_type
action find
entity Q85
relation P190
type Q515
[ANSWERS] are twin town of Grozny and Cairo
[{'concept': 'Q515'}, 'P190', 'Q5196'] [{'concept': 'Q515'}, 'P190', 'Q85']
SELECT DISTINCT ?y WHERE { ?o property:P190 ?y . VALUES ( ?o ) { ( resource:Q85 ) ( resource:Q5196 ) } }
Sivas Seoul Buenos Aires Frankfurt Tokyo Sarajevo
Buenos Aires, Frankfurt and Sarajevo are twin town of Grozny and Cairo
Buenos Aires Frankfurt Sarajevo
action union
action filter_type
action find
entity Grozny
relation sister city
type city
action filter_type
action find
entity Cairo
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Grozny'] [{'concept': 'city'}, 'sister city', 'Cairo']
SELECT DISTINCT ?y WHERE { ?o property:sister_city ?y . VALUES ( ?o ) { ( resource:Cairo ) ( resource:Grozny ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1486 Q1794 Q11194
P1376
Q7275
USER
Which states have those cities as their capital ?
(Q1486,P1376,c(Q7275)) (Q1794,P1376,c(Q7275)) (Q11194,P1376,c(Q7275))
action filter_type
action find
entity prev_answer
relation P1376
type Q7275
['Q1486', 'P1376', {'concept': 'Q7275'}] ['Q1794', 'P1376', {'concept': 'Q7275'}] ['Q11194', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7275 . VALUES ( ?d ) { ( resource:Q107401 ) ( resource:Q8684 ) ( resource:Q1486 ) } . ?d property:P1376 ?b }
Buenos Aires Frankfurt Sarajevo
action filter_type
action find
entity prev_answer
relation capital of
type state
['Buenos Aires', 'capital of', {'concept': 'state'}] ['Frankfurt', 'capital of', {'concept': 'state'}] ['Sarajevo', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:state . VALUES ( ?d ) { ( resource:Sivas ) ( resource:Seoul ) ( resource:Buenos_Aires ) } . ?d property:capital_of ?b }
[]
state
Q153080 Q11196 Q738144
SYSTEM
East Francia, Republika Srpska, United Provinces of the Río de la Plata
Q738144 Q153080 Q18285930 Q1274468 Q11196
(Q1486,P1376,c(Q7275)) (Q1794,P1376,c(Q7275)) (Q11194,P1376,c(Q7275))
action filter_type
action find
entity prev_answer
relation P1376
type Q7275
[ANSWERS] have those cities as their capital
['Q1486', 'P1376', {'concept': 'Q7275'}] ['Q1794', 'P1376', {'concept': 'Q7275'}] ['Q11194', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7275 . VALUES ( ?d ) { ( resource:Q107401 ) ( resource:Q8684 ) ( resource:Q1486 ) } . ?d property:P1376 ?b }
United Provinces of the Río de la Plata East Francia German Empire of 1848/1849 Republic of Bosnia and Herzegovina Republika Srpska
East Francia, Republika Srpska and United Provinces of the Río de la Plata have those cities as their capital
East Francia Republika Srpska United Provinces of the Río de la Plata
action filter_type
action find
entity prev_answer
relation capital of
type state
['Buenos Aires', 'capital of', {'concept': 'state'}] ['Frankfurt', 'capital of', {'concept': 'state'}] ['Sarajevo', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:state . VALUES ( ?d ) { ( resource:Sivas ) ( resource:Seoul ) ( resource:Buenos_Aires ) } . ?d property:capital_of ?b }
[]
Clarification
Simple Question|Single Entity|Indirect
Q738144
P36
Q515
USER
Which city is called the capital of that state ?
(Q738144,P36,c(Q515))
action filter_type
action find
entity Q738144
relation P36
type Q515
['Q738144', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . resource:Q738144 property:P36 ?l }
United Provinces of the Río de la Plata
action filter_type
action find
entity United Provinces of the Río de la Plata
relation capital
type city
['United Provinces of the Río de la Plata', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . resource:United_Provinces_of_the_Río_de_la_Plata property:capital ?l }
[]
city
Clarification for simple ques.
Q153080
SYSTEM
Did you mean East Francia ?
Q153080 Q11196 Q738144
(Q153080,P36,c(Q515)) (Q11196,P36,c(Q515)) (Q738144,P36,c(Q515))
[ANSWER]
['Q153080', 'P36', {'concept': 'Q515'}] ['Q11196', 'P36', {'concept': 'Q515'}] ['Q738144', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . resource:Q738144 property:P36 ?l }
East Francia Republika Srpska United Provinces of the Río de la Plata
Did you mean East Francia ?
East Francia
['East Francia', 'capital', {'concept': 'city'}] ['Republika Srpska', 'capital', {'concept': 'city'}] ['United Provinces of the Río de la Plata', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . resource:United_Provinces_of_the_Río_de_la_Plata property:capital ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant United Provinces of the Río de la Plata. Could you tell me the answer for that?
(Q738144,P36,c(Q515))
Q738144
['Q738144', 'P36', {'concept': 'Q515'}]
['United Provinces of the Río de la Plata', 'capital', {'concept': 'city'}]
[]
Q1486
SYSTEM
Buenos Aires
Q1486
(Q738144,P36,c(Q515))
action filter_type
action find
entity Q738144
relation P36
type Q515
[ANSWER] is called the capital of that state
['Q738144', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . resource:Q738144 property:P36 ?l }
Buenos Aires
Buenos Aires is called the capital of that state
Buenos Aires
action filter_type
action find
entity United Provinces of the Río de la Plata
relation capital
type city
['United Provinces of the Río de la Plata', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . resource:United_Provinces_of_the_Río_de_la_Plata property:capital ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1486 Q1125440
P190
Q56061
USER
Is Salem twin city of that one ?
(Q1486,P190,Q1125440)
action is_in
entity Q1125440
action find
entity Q1486
relation P190
['Q1486', 'P190', 'Q1125440']
ASK WHERE { resource:Q1486 property:P190 resource:Q1125440 }
Buenos Aires Salem
action is_in
entity Salem
action find
entity Buenos Aires
relation sister city
['Buenos Aires', 'sister city', 'Salem']
ASK WHERE { resource:Buenos_Aires property:sister_city resource:Salem }
[]
administrative territorial entity
SYSTEM
NO
(Q1486,P190,Q1125440)
action is_in
entity Q1125440
action find
entity Q1486
relation P190
[ANSWER]
['Q1486', 'P190', 'Q1125440']
ASK WHERE { resource:Q1486 property:P190 resource:Q1125440 }
No
action is_in
entity Salem
action find
entity Buenos Aires
relation sister city
['Buenos Aires', 'sister city', 'Salem']
ASK WHERE { resource:Buenos_Aires property:sister_city resource:Salem }
[]