Simple Question (Direct)
Simple Question
Q6226995
P410
Q4189293
USER
Which title has John Cook achieved ?
(Q6226995,P410,c(Q4189293))
action filter_type
action find
entity Q6226995
relation P410
type Q4189293
['Q6226995', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { resource:Q6226995 property:P410 ?o . ?o rdf:type ontology:Q4189293 }
John Cook
action filter_type
action find
entity John Cook
relation military rank
type title
['John Cook', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { resource:John_Cook property:military_rank ?o . ?o rdf:type ontology:title }
[]
title
Q4967196
SYSTEM
brigadier general
Q4967196
(Q6226995,P410,c(Q4189293))
action filter_type
action find
entity Q6226995
relation P410
type Q4189293
[ANSWER]
['Q6226995', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { resource:Q6226995 property:P410 ?o . ?o rdf:type ontology:Q4189293 }
brigadier general
brigadier general
action filter_type
action find
entity John Cook
relation military rank
type title
['John Cook', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { resource:John_Cook property:military_rank ?o . ?o rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6226995
P607
Q198
USER
Which war did John Cook take part in ?
(Q6226995,P607,c(Q198))
action filter_type
action find
entity Q6226995
relation P607
type Q198
['Q6226995', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q6226995 property:P607 ?c . ?c rdf:type ontology:Q198 }
John Cook
action filter_type
action find
entity John Cook
relation conflict
type war
['John Cook', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:John_Cook property:conflict ?c . ?c rdf:type ontology:war }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q6226995,P607,c(Q198))
action filter_type
action find
entity Q6226995
relation P607
type Q198
[ANSWER]
['Q6226995', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q6226995 property:P607 ?c . ?c rdf:type ontology:Q198 }
American Civil War
American Civil War
action filter_type
action find
entity John Cook
relation conflict
type war
['John Cook', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:John_Cook property:conflict ?c . ?c rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6226995
P106
Q12737077
USER
What are the professions of John Cook ?
(Q6226995,P106,c(Q12737077))
action filter_type
action find
entity Q6226995
relation P106
type Q12737077
['Q6226995', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6226995 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
John Cook
action filter_type
action find
entity John Cook
relation occupation
type occupation
['John Cook', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:John_Cook property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955 Q189290
SYSTEM
politician, officer
Q82955 Q189290
(Q6226995,P106,c(Q12737077))
action filter_type
action find
entity Q6226995
relation P106
type Q12737077
[ANSWERS]
['Q6226995', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6226995 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician officer
politician officer
action filter_type
action find
entity John Cook
relation occupation
type occupation
['John Cook', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:John_Cook property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q851515
Q12737077
USER
And how about Akira?
(Q851515,P106,c(Q12737077))
action filter_type
action find
entity Q851515
relation P106
type Q12737077
['Q851515', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q851515 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Akira
action filter_type
action find
entity Akira
relation occupation
type occupation
['Akira', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Akira property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q33999 Q5716684 Q177220
SYSTEM
actor, dancer, singer
Q33999 Q5716684 Q177220
(Q851515,P106,c(Q12737077))
action filter_type
action find
entity Q851515
relation P106
type Q12737077
[ANSWERS]
['Q851515', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q851515 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
actor dancer singer
actor dancer singer
action filter_type
action find
entity Akira
relation occupation
type occupation
['Akira', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Akira property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5512416
P106
Q502895
USER
Do G. R. Khairnar have the profession as those occupations ?
(Q5512416,P106,Q33999) (Q5512416,P106,Q5716684) (Q5512416,P106,Q177220)
action is_in
entity prev_answer
action find
entity Q5512416
relation P106
['Q5512416', 'P106', 'Q33999'] ['Q5512416', 'P106', 'Q5716684'] ['Q5512416', 'P106', 'Q177220']
ASK WHERE { resource:Q5512416 property:P106 ?p . VALUES ( ?p ) { ( resource:Q33999 ) ( resource:Q5716684 ) ( resource:Q177220 ) } }
G. R. Khairnar
action is_in
entity prev_answer
action find
entity G. R. Khairnar
relation occupation
['G. R. Khairnar', 'occupation', 'actor'] ['G. R. Khairnar', 'occupation', 'dancer'] ['G. R. Khairnar', 'occupation', 'singer']
ASK WHERE { resource:G._R._Khairnar property:occupation ?p . VALUES ( ?p ) { ( resource:actor ) ( resource:dancer ) ( resource:singer ) } }
[]
common name
SYSTEM
NO
(Q5512416,P106,Q33999) (Q5512416,P106,Q5716684) (Q5512416,P106,Q177220)
action is_in
entity prev_answer
action find
entity Q5512416
relation P106
[ANSWER]
['Q5512416', 'P106', 'Q33999'] ['Q5512416', 'P106', 'Q5716684'] ['Q5512416', 'P106', 'Q177220']
ASK WHERE { resource:Q5512416 property:P106 ?p . VALUES ( ?p ) { ( resource:Q33999 ) ( resource:Q5716684 ) ( resource:Q177220 ) } }
No
action is_in
entity prev_answer
action find
entity G. R. Khairnar
relation occupation
['G. R. Khairnar', 'occupation', 'actor'] ['G. R. Khairnar', 'occupation', 'dancer'] ['G. R. Khairnar', 'occupation', 'singer']
ASK WHERE { resource:G._R._Khairnar property:occupation ?p . VALUES ( ?p ) { ( resource:actor ) ( resource:dancer ) ( resource:singer ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q8676
P101
Q2668072 Q502895
USER
How many collections or people work in the domain of American Civil War ?
(c(Q2668072),P101,Q8676) (c(Q502895),P101,Q8676)
action count
action union
action filter_type
action find_reverse
entity Q8676
relation P101
type Q2668072
action filter_type
action find_reverse
entity Q8676
relation P101
type Q502895
[{'concept': 'Q2668072'}, 'P101', 'Q8676'] [{'concept': 'Q502895'}, 'P101', 'Q8676']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2668072 ) ( ontology:Q502895 ) } }
American Civil War
action count
action union
action filter_type
action find_reverse
entity American Civil War
relation field of work
type collection
action filter_type
action find_reverse
entity American Civil War
relation field of work
type common name
[{'concept': 'collection'}, 'field of work', 'American Civil War'] [{'concept': 'common name'}, 'field of work', 'American Civil War']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:collection ) ( ontology:common_name ) } }
[]
collection common name
SYSTEM
2
Q49128 Q16930752
(c(Q2668072),P101,Q8676) (c(Q502895),P101,Q8676)
action count
action union
action filter_type
action find_reverse
entity Q8676
relation P101
type Q2668072
action filter_type
action find_reverse
entity Q8676
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q2668072'}, 'P101', 'Q8676'] [{'concept': 'Q502895'}, 'P101', 'Q8676']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2668072 ) ( ontology:Q502895 ) } }
Drew Gilpin Faust Bridgeport Depot Museum
2
action count
action union
action filter_type
action find_reverse
entity American Civil War
relation field of work
type collection
action filter_type
action find_reverse
entity American Civil War
relation field of work
type common name
[{'concept': 'collection'}, 'field of work', 'American Civil War'] [{'concept': 'common name'}, 'field of work', 'American Civil War']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:collection ) ( ontology:common_name ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P1542
Q601401
USER
Which trade is the cause of American Civil War ?
(c(Q601401),P1542,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P1542
type Q601401
[{'concept': 'Q601401'}, 'P1542', 'Q8676']
SELECT DISTINCT ?o WHERE { ?o property:P1542 resource:Q8676 . ?o rdf:type ontology:Q601401 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation cause of
type trade
[{'concept': 'trade'}, 'cause of', 'American Civil War']
SELECT DISTINCT ?o WHERE { ?o property:cause_of resource:American_Civil_War . ?o rdf:type ontology:trade }
[]
trade
Q118382
SYSTEM
slavery in the United States
Q118382
(c(Q601401),P1542,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P1542
type Q601401
[ANSWER]
[{'concept': 'Q601401'}, 'P1542', 'Q8676']
SELECT DISTINCT ?o WHERE { ?o property:P1542 resource:Q8676 . ?o rdf:type ontology:Q601401 }
slavery in the United States
slavery in the United States
action filter_type
action find_reverse
entity American Civil War
relation cause of
type trade
[{'concept': 'trade'}, 'cause of', 'American Civil War']
SELECT DISTINCT ?o WHERE { ?o property:cause_of resource:American_Civil_War . ?o rdf:type ontology:trade }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P1344
Q502895
USER
Who took part in American Civil War ?
(c(Q502895),P1344,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q8676']
SELECT DISTINCT ?c WHERE { ?c property:P1344 resource:Q8676 . ?c rdf:type ontology:Q502895 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'American Civil War']
SELECT DISTINCT ?c WHERE { ?c property:participant_of resource:American_Civil_War . ?c rdf:type ontology:common_name }
[]
common name
Q20436726
SYSTEM
Matthias Ernest Rozsafy
Q20436726
(c(Q502895),P1344,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P1344
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', 'Q8676']
SELECT DISTINCT ?c WHERE { ?c property:P1344 resource:Q8676 . ?c rdf:type ontology:Q502895 }
Matthias Ernest Rozsafy
Matthias Ernest Rozsafy
action filter_type
action find_reverse
entity American Civil War
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'American Civil War']
SELECT DISTINCT ?c WHERE { ?c property:participant_of resource:American_Civil_War . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P921
Q2342494
USER
Which collectables have American Civil War as their principal topic ?
(c(Q2342494),P921,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q8676']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q8676 . ?f rdf:type ontology:Q2342494 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'American Civil War']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:American_Civil_War . ?f rdf:type ontology:collectable }
[]
collectable
Q471005 Q2910027 Q7761504
SYSTEM
The Mysterious Island, Boneshaker, The Root Cellar
Q4659176 Q7333277 Q5451628 Q1540288 Q7745774 Q7769477 Q5564469 Q7761504 Q7756723 Q1997545 Q7303849 Q3400570 Q347325 Q6550461 Q1219239 Q4676457 Q4754260 Q5625337 Q3521472 Q5554726 Q6515676 Q5598240 Q7659353 Q21504988 Q7712123 Q7713277 Q7496713 Q4996610 Q183363 Q4745433 Q4656590 Q4132785 Q6766210 Q27117409 Q7003926 Q471005 Q2499287 Q8028004 Q7773607 Q2717946 Q6877353 Q6546312 Q5596147 Q7752393 Q7836055 Q6301797 Q7738533 Q5500459 Q20004061 Q2870 Q7997446 Q241348 Q7081055 Q6756693 Q13373598 Q2910027 Q523076
(c(Q2342494),P921,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q8676']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q8676 . ?f rdf:type ontology:Q2342494 }
A Rebel in Time Rifles for Watie Fire on the Mountain The Crisis The Last Full Measure The Titans Girl in Blue The Root Cellar The Perilous Road Texar's Revenge, or, North Against South Red Cap Cloudsplitter Confederates Lincoln The Red Badge of Courage Across Five Aprils Andersonville Gypsy Breynton The Killer Angels Gettysburg: A Novel of the Civil War Lee and Grant at Appomattox Gray Victory Swords of Steel Letters of a Civil War Surgeon The Able McLaughlins The Amalgamation Polka Shiloh Bull Run The March American by Blood A Dream of Kings Bring the Jubilee Marjorie's Quest Singing the new nation Never Call Retreat: Lee and Grant: The Final Victory The Mysterious Island Cold Mountain With Lee in Virginia, A Story of the American Civil War The Warriors The Unvanquished Miss Ravenel's Conversion from Secession to Loyalty Lighthouse Grant Comes East The Mostly True Adventures of Homer P. Figg Traveller Jubilee The Guns of the South Freedom Lest We Forget Gone with the Wind Who Would Have Thought It? Scarlett Ohio in the War March Gods and Generals Boneshaker Little Women
The Mysterious Island Boneshaker The Root Cellar
action filter_type
action find_reverse
entity American Civil War
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'American Civil War']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:American_Civil_War . ?f rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q471005
P50
Q502895
USER
Which person authored that collectable ?
(Q471005,P50,c(Q502895))
action filter_type
action find
entity Q471005
relation P50
type Q502895
['Q471005', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q471005 property:P50 ?j . ?j rdf:type ontology:Q502895 }
The Mysterious Island
action filter_type
action find
entity The Mysterious Island
relation author
type common name
['The Mysterious Island', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Mysterious_Island property:author ?j . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7761504
SYSTEM
Did you mean The Root Cellar ?
Q471005 Q2910027 Q7761504
(Q471005,P50,c(Q502895)) (Q2910027,P50,c(Q502895)) (Q7761504,P50,c(Q502895))
[ANSWER]
['Q471005', 'P50', {'concept': 'Q502895'}] ['Q2910027', 'P50', {'concept': 'Q502895'}] ['Q7761504', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q471005 property:P50 ?j . ?j rdf:type ontology:Q502895 }
The Mysterious Island Boneshaker The Root Cellar
Did you mean The Root Cellar ?
The Root Cellar
['The Mysterious Island', 'author', {'concept': 'common name'}] ['Boneshaker', 'author', {'concept': 'common name'}] ['The Root Cellar', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Mysterious_Island property:author ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Mysterious Island. Could you tell me the answer for that?
(Q471005,P50,c(Q502895))
Q471005
['Q471005', 'P50', {'concept': 'Q502895'}]
['The Mysterious Island', 'author', {'concept': 'common name'}]
[]
Q33977
SYSTEM
Jules Verne
Q33977
(Q471005,P50,c(Q502895))
action filter_type
action find
entity Q471005
relation P50
type Q502895
[ANSWER]
['Q471005', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q471005 property:P50 ?j . ?j rdf:type ontology:Q502895 }
Jules Verne
Jules Verne
action filter_type
action find
entity The Mysterious Island
relation author
type common name
['The Mysterious Island', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Mysterious_Island property:author ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P58
Q838948 Q15416
USER
How many works of art or television programs are that person a screenwriter of ?
(c(Q838948),P58,Q33977) (c(Q15416),P58,Q33977) (c(Q838948),P58,Q33977) (c(Q15416),P58,Q33977)
action count
action union
action filter_type
action find_reverse
entity Q33977
relation P58
type Q838948
action filter_type
action find_reverse
entity Q33977
relation P58
type Q15416
[{'concept': 'Q838948'}, 'P58', 'Q33977'] [{'concept': 'Q15416'}, 'P58', 'Q33977'] [{'concept': 'Q838948'}, 'P58', 'Q33977'] [{'concept': 'Q15416'}, 'P58', 'Q33977']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P58 resource:Q33977 . ?o rdf:type ontology:Q838948 } UNION { ?o property:P58 resource:Q33977 . ?o rdf:type ontology:Q15416 } }
action count
action union
action filter_type
action find_reverse
entity Jules Verne
relation screenwriter
type work of art
action filter_type
action find_reverse
entity Jules Verne
relation screenwriter
type television program
[{'concept': 'work of art'}, 'screenwriter', 'Jules Verne'] [{'concept': 'television program'}, 'screenwriter', 'Jules Verne'] [{'concept': 'work of art'}, 'screenwriter', 'Jules Verne'] [{'concept': 'television program'}, 'screenwriter', 'Jules Verne']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:screenwriter resource:Jules_Verne . ?o rdf:type ontology:work_of_art } UNION { ?o property:screenwriter resource:Jules_Verne . ?o rdf:type ontology:television_program } }
[]
work of art television program
SYSTEM
10
Q696057 Q3298599 Q1831533 Q3129651 Q2261577 Q212675 Q2521840 Q1215745 Q2353193 Q655475
(c(Q838948),P58,Q33977) (c(Q15416),P58,Q33977) (c(Q838948),P58,Q33977) (c(Q15416),P58,Q33977)
action count
action union
action filter_type
action find_reverse
entity Q33977
relation P58
type Q838948
action filter_type
action find_reverse
entity Q33977
relation P58
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q33977'] [{'concept': 'Q15416'}, 'P58', 'Q33977'] [{'concept': 'Q838948'}, 'P58', 'Q33977'] [{'concept': 'Q15416'}, 'P58', 'Q33977']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P58 resource:Q33977 . ?o rdf:type ontology:Q838948 } UNION { ?o property:P58 resource:Q33977 . ?o rdf:type ontology:Q15416 } }
Around the World in 80 Days Mathias Sandorf 20,000 Leagues Under the Sea In Search of the Castaways The Return of Captain Nemo Mysterious Island Mysterious Island Journey to the Center of the Earth The Fabulous World of Jules Verne From the Earth to the Moon
10
action count
action union
action filter_type
action find_reverse
entity Jules Verne
relation screenwriter
type work of art
action filter_type
action find_reverse
entity Jules Verne
relation screenwriter
type television program
[{'concept': 'work of art'}, 'screenwriter', 'Jules Verne'] [{'concept': 'television program'}, 'screenwriter', 'Jules Verne'] [{'concept': 'work of art'}, 'screenwriter', 'Jules Verne'] [{'concept': 'television program'}, 'screenwriter', 'Jules Verne']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:screenwriter resource:Jules_Verne . ?o rdf:type ontology:work_of_art } UNION { ?o property:screenwriter resource:Jules_Verne . ?o rdf:type ontology:television_program } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q188972
P607
Q198 Q502895 Q2235308
USER
Which wars were around the same number of people and ship types a part of as Greek Civil War ?
(c(Q502895)|c(Q2235308),P607,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q188972
relation P607
type Q502895
type Q2235308
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?s = ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P607 resource:Q188972 . { { ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q2235308 } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?v WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q2235308 ) } } GROUP BY ?v } }
Greek Civil War
action approx
action union
action find_reverse_tuple_counts
relation conflict
type war
type common name
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action count
action filter_multi_types
action find_reverse
entity Greek Civil War
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?s = ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:conflict resource:Greek_Civil_War . { { ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:ship_type } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?v WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:common_name ) ( ontology:ship_type ) } } GROUP BY ?v } }
[]
war common name ship type
Q545449 Q17984356 Q163883
SYSTEM
Iraq War, Iraqi Civil War, Ten-Day War
Q8683 Q211855 Q1006311 Q795269 Q3067868 Q3778746 Q920894 Q81545 Q10859 Q163883 Q18121212 Q1021160 Q15860072 Q17984356 Q1072889 Q1980081 Q633862 Q209297 Q242352 Q2105495 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q4971401 Q2086498 Q1049945 Q75984 Q1021172 Q1021175 Q1122110 Q43378 Q8676 Q1127302 Q1052332 Q1070890 Q188972 Q12302518 Q475678 Q213394 Q17183365 Q17507684 Q179975 Q18159629 Q2672972 Q243620 Q79911 Q142529
(c(Q502895)|c(Q2235308),P607,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q188972
relation P607
type Q502895
type Q2235308
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?s = ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P607 resource:Q188972 . { { ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q2235308 } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?v WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q2235308 ) } } GROUP BY ?v } }
Cold War Finnish Civil War war of national liberation Sierra Leone Civil War Colombian Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War Ten-Day War American-led intervention in Syria Armagnac–Burgundian Civil War 2014–16 Russian military intervention in Ukraine Iraqi Civil War Chilean War of Independence Civil war in Afghanistan Cold War Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War British military intervention in the Sierra Leone Civil War First Barons' War Jacobite rising of 1745 Dirty War Republic of the Congo Civil War First Ivorian Civil War Civil war in Tajikistan Thousand Days' War American Civil War Estonian War of Independence War in Somalia Georgian Civil War Greek Civil War Civil war in Afghanistan Mexican Drug War Sri Lankan Civil War Sectarian violence in Iraq (2006–07) military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War Algerian Civil War
Iraq War Iraqi Civil War Ten-Day War
action approx
action union
action find_reverse_tuple_counts
relation conflict
type war
type common name
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action count
action filter_multi_types
action find_reverse
entity Greek Civil War
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?s = ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:conflict resource:Greek_Civil_War . { { ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:ship_type } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?v WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:common_name ) ( ontology:ship_type ) } } GROUP BY ?v } }
[]